joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10073730
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x100ce350]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
mov ebp, dword [esp + 0x134]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x138]
xor esi, esi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
call fcn.1004f9c0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x100737a8
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10050320
push eax
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push ebp
call fcn.1003e5e0
add esp, 0x1c
lea esi, [ebx + 0x4d]
jmp 0x100738e7
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x100737fa
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10050320
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push ebp
call fcn.1003e5e0
add esp, 0x1c
mov esi, 0x4d
jmp 0x100738e7
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1007383a
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10050320
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push ebp
call fcn.1003e5e0
add esp, 0x1c
mov esi, 0x4d
jmp 0x100738dd
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x10073868
jg 0x1007384e
cmp edi, 0x100000
jbe 0x10073868
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ebp
call fcn.1003e5e0
add esp, 0xc
mov esi, 0x4d
jmp 0x100738dd
lea eax, [edi + 1]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10073880
lea esi, [eax + 0x1b]
jmp 0x100738dd
test edi, edi
je 0x100738c4
nop dword [eax]
nop dword [eax + eax]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10073921
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1007391d
add esi, eax
cmp esi, edi
jb 0x10073890
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.10073530
add esp, 0x14
mov esi, eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x100ce004]
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x10073902
push eax
call fcn.10081d23
add esp, 4
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007c2ab
add esp, 0x120
ret
mov edi, esi
jmp 0x100738c4
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10050320
push eax
push dword [esp + 0x24]
push str.schannel:_failed_to_read_from_CA_file__s:__s
push ebp
call fcn.1003e5e0
add esp, 0x1c
mov esi, 0x4d
jmp 0x100738dd
Function at 0x10079710
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10079737
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x10079782
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ebx
jmp 0x10079786
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x100797e6
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x100797a5
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x10079817
nop dword [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0x100b947d
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x100b947e
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x100797f0
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x10079820
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x20]
call fcn.10040100
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [section..data]
mov edi, eax
add esp, 8
test edi, edi
je 0x10079988
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x1007989c
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push ebp
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov eax, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x18]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x10079901
mov dword [esp + 0x18], eax
mov ebx, eax
nop dword [eax + eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x1c], al
lea eax, [esp + 0x1c]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x28], al
lea eax, [esp + 0x28]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x100798c0
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esi + 0x10]
jae 0x1007992d
mov eax, dword [esi + 4]
push 1
push 0x100b947d
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x100b947e
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x10079906
push dword [esp + 0x28]
call fcn.10040100
mov ecx, dword [edi]
push eax
push dword [esp + 0x2c]
push dword [edi + 4]
mov eax, dword [ecx + 4]
call eax
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov ebx, dword [edi]
test esi, esi
jne 0x10079958
mov esi, dword [ebx + 0xc]
add esi, dword [edi + 8]
push dword [edi + 4]
mov eax, dword [ebx + 8]
push esi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push esi
push dword [edi + 8]
call eax
push dword [edi + 8]
mov eax, dword [ebx + 8]
push esi
call eax
push edi
call dword [0x100ce004]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
pop ecx
ret
Function at 0x10096faf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10096e25

Function at 0x1009e153
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009ddd0
Function at 0x401410
Capabilities:
Log keystrokes via application hook

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x34
call sym.___main
call sym._HideConsole
mov dword [esp], 0
call sym._GetModuleHandleA_4
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], sym._KeyboardProc_12
mov dword [esp], 0xd
call sym._SetWindowsHookExA_16
sub esp, 0x10
mov dword [ebp - 0xc], eax
mov ecx, 0
mov eax, 0x1c
and eax, 0xfffffffc
mov edx, eax
mov eax, 0
mov dword [ebp + eax - 0x28], ecx
add eax, 4
cmp eax, edx
jb 0x401474
jmp 0x40149d
lea eax, [ebp - 0x28]
mov dword [esp], eax
call sym._TranslateMessage_4
sub esp, 4
lea eax, [ebp - 0x28]
mov dword [esp], eax
call sym._DispatchMessageA_4
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x28]
mov dword [esp], eax
call sym._GetMessageA_16
sub esp, 0x10
test eax, eax
jne 0x401481
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._UnhookWindowsHookEx_4
sub esp, 4
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret
Function at 0x401d26
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call sym._GetConsoleWindow_0
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
nop
leave
ret
Function at 0x402490
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408048
call sym._EnterCriticalSection_4
mov ebx, dword [0x408040]
sub esp, 4
test ebx, ebx
je 0x4024db
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x4024d4
test esi, esi
je 0x4024d4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4024b0
mov dword [esp], 0x408048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x4026c0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402710
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4027e4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x40274e
cmp eax, 4
jne 0x402770
test esi, esi
je 0x402762
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x402754
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x4027af
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x4027a1
cmp ecx, 0x40
je 0x402762
cmp ecx, 4
je 0x402762
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004026c0
lea esi, [esi]
Function at 0x10004ed6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x18
push 0x10025490
call fcn.1000fed8
xor esi, esi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10004ef2
xor eax, eax
jmp 0x10004f86
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov eax, dword [edi + 0x3c]
mov ebx, dword [eax + edi + 0x78]
add ebx, edi
mov eax, dword [ebx + 0x1c]
add eax, edi
mov dword [ebp + 8], eax
mov edx, dword [ebx + 0x20]
add edx, edi
mov dword [ebp - 0x20], edx
mov ecx, dword [ebx + 0x24]
add ecx, edi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
test ecx, 0xffff0000
jne 0x10004f2f
movzx eax, cx
sub eax, dword [ebx + 0x10]
jmp 0x10004f56
mov ebx, dword [ebx + 0x18]
mov dword [ebp - 0x28], ebx
mov eax, ebx
dec ebx
mov dword [ebp - 0x28], ebx
test eax, eax
je 0x10004f80
mov eax, dword [edx]
add eax, edi
push ecx
push eax
call fcn.10010a08
pop ecx
pop ecx
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x10004f60
movzx eax, word [eax]
mov esi, dword [ebp + 8]
mov esi, dword [esi + eax*4]
add esi, edi
jmp 0x10004f7d
mov edx, dword [ebp - 0x20]
add edx, 4
mov dword [ebp - 0x20], edx
add eax, 2
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
jmp 0x10004f35
mov dword [ebp - 0x24], esi
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.1000ff13
ret 8

Function at 0x10004f8e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, 0x10b
push edi
mov eax, dword [esi + 0x3c]
add eax, esi
movzx ecx, word [eax + 0x18]
cmp cx, dx
jne 0x10004fb3
xor edi, edi
add eax, 0x78
jmp 0x10004fc9
mov edx, 0x20b
cmp cx, dx
jne 0x1000505c
xor edi, edi
inc edi
add eax, 0x88
push edi
push esi
push dword [eax]
call fcn.10005707
push edi
push esi
lea ebx, [esi + eax]
push dword [ebx + 0x20]
call fcn.10005707
push edi
push esi
push dword [ebx + 0x24]
add eax, esi
mov dword [ebp + 8], eax
call fcn.10005707
add eax, esi
add esp, 0x24
test dword [ebp + 0xc], 0xffff0000
mov dword [ebp - 4], eax
jne 0x10005026
push edi
push esi
push edi
push esi
push dword [ebx + 0x1c]
call fcn.10005707
mov ecx, dword [ebp + 0xc]
add esp, 0xc
movzx ecx, cx
sub ecx, dword [ebx + 0x10]
add eax, esi
push dword [eax + ecx*4]
call fcn.10005707
add esp, 0xc
jmp 0x1000505e
mov eax, dword [ebx + 0x18]
jmp 0x10005058
dec eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push edi
push esi
push dword [eax]
call fcn.10005707
push dword [ebp + 0xc]
add eax, esi
push eax
call fcn.100128d8
add esp, 0x14
test eax, eax
jne 0x10005065
add dword [ebp + 8], 4
add dword [ebp - 4], 2
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000502b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
push edi
push esi
push dword [ebx + 0x1c]
call fcn.10005707
mov ecx, dword [ebp - 4]
add esp, 0xc
movzx ecx, word [ecx]
jmp 0x10005017
Function at 0x1000526a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
jbe 0x10005276
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
and eax, 3
mov al, byte [eax + esi]
add al, 0x30
xor byte [ecx + edx], al
inc ecx
cmp ecx, dword [ebp + 0x10]
jb 0x10005264
pop esi
pop ebp
ret

Function at 0x1000ac6f
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
jmp 0x1000ace6
push ebx
push dword [edi + 0x30]
call fcn.1000f8e0
mov eax, dword [edi + 0x30]
add esp, 0xc
mov ecx, dword [edi + 0x50]
mov dword [edi + 0x64], esi
mov dword [edi + 0x54], esi
movzx edx, byte [eax]
mov dword [edi + 0x40], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
lea eax, [esi - 3]
and edx, dword [edi + 0x4c]
xor ebx, ebx
mov dword [edi + 0x40], edx
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x2c]
and edx, ebx
movzx esi, byte [eax + ebx + 2]
mov eax, dword [edi + 0x40]
shl eax, cl
mov ecx, dword [edi + 0x38]
xor esi, eax
and esi, dword [edi + 0x4c]
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], esi
mov ax, word [eax + esi*2]
mov word [ecx + edx*2], ax
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
mov word [eax + ecx*2], bx
inc ebx
cmp ebx, dword [ebp + 8]
jbe 0x1000aca3
jmp 0x1000ac51
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000b236
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
movzx edi, si
shr esi, 0x10
test ebx, ebx
jne 0x1000b254
xor eax, eax
inc eax
jmp 0x1000b34a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1000b343
mov ecx, 0xfff1
mov edx, 0x15b0
cmp eax, edx
cmovb edx, eax
sub eax, edx
mov dword [ebp + 0x10], eax
cmp edx, 0x10
jl 0x1000b314
mov ecx, edx
shr ecx, 4
imul eax, ecx, 0xfffffff0
add edx, eax
movzx eax, byte [ebx]
add edi, eax
movzx eax, byte [ebx + 1]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 2]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 3]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 4]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 5]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 6]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 7]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 8]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 9]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 0xa]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 0xb]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 0xc]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 0xd]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 0xe]
add esi, edi
add edi, eax
movzx eax, byte [ebx + 0xf]
add esi, edi
add ebx, 0x10
add edi, eax
add esi, edi
dec ecx
jne 0x1000b286
mov ecx, 0xfff1
test edx, edx
je 0x1000b328
movzx ecx, byte [ebx]
add edi, ecx
inc ebx
add esi, edi
dec edx
jne 0x1000b318
mov ecx, 0x39600000
add byte [eax], al
push es
add byte [eax], al
add byte [eax + eax], bl
add byte [eax], al
add byte [eax], al
add byte [esi - 0x4e95faa], dl
movsd dword es:[edi], dword [esi]
pop edi
dec ecx
cmp al, 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
or al, 0x29
mov al, byte [0x290c002f]
Function at 0x10003d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008baba
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100c6868]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 0
cmp dword [esi + 0x200b4], 0
mov dword [ebp - 4], 2
jne 0x10003dcc
push 0
push 0
push esi
push 0x10006ff0
push 0
push 0
call fcn.10063f20
add esp, 0x18
mov dword [esi + 0x200b4], eax
push 0x14
call fcn.10040c95
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x10003e01
push dword [ebp - 0x3c]
lea eax, [ebp + 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10005100
push edi
mov ecx, esi
call fcn.10004110
mov dword [ebp - 0x3c], eax
jmp 0x10003e08
mov dword [ebp - 0x3c], 0
push 0xc
mov byte [ebp - 4], 2
call fcn.10040c95
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x10003e2c
mov ecx, eax
call fcn.10005370
mov edi, eax
jmp 0x10003e2e
xor edi, edi
push ebx
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.1000a120
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x88], 0x10003a60
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x10003e77
mov eax, dword [ecx]
lea edx, [ebp - 0x78]
push edx
call dword [eax]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 7
push eax
call fcn.100043b0
mov ecx, dword [ebp - 0x54]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x10003ebc
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x78]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0x2008c]
call fcn.1000a5f0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10003ee7
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x10003f06
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
mov edx, dword [ebp + 0x50]
cmp edx, 0x10
jb 0x10003f36
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003f2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003f56
push edx
push ecx
call fcn.10040cc5
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10041044
mov esp, ebp
pop ebp
ret 0x50
call fcn.100613b9
int3
Function at 0x1000fef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000ff49
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000ff49
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000ff3a
cmp esi, edx
jae 0x1000ff49
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000ff28
cmp esi, edx
jae 0x1000ff49
cmp word [esi], 0
je 0x1000ff49
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10011f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d1f6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100c6868]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.AccountPluginClient.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea esi, [edi + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.RechargeWeb.0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xf
mov byte [esi + 0xc], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
add esi, 0x34
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
add esi, 0x20
push 8
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10040c95
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov eax, edi
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret