joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a9fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47fbe8]
cmp dword [eax + 0x30], 0
je 0x45aaa6
cmp dword [ebx + 0x94], 0
jne 0x45aaa0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a98c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45aaa0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45aa66
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45aaa0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414e60
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45aa75
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b608
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45b63d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404654
jmp 0x45b64a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c6ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c6ed
mov eax, esi
call fcn.00442e20
test al, al
je 0x45c6ed
mov eax, dword [ebx + 0x84]
call fcn.00442b1c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c6ed
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442b1c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4676e8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4676f0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4678bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4678d8
mov eax, esi
call fcn.004651ec
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004045b8
lea ecx, [ebp - 0x10]
mov edx, 0x4678ec
mov eax, esi
call fcn.004651ec
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004045b8
lea ecx, [ebp - 0x14]
mov edx, 0x467904
mov eax, esi
call fcn.004651ec
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004045b8
lea ecx, [ebp - 0x18]
mov edx, 0x467920
mov eax, esi
call fcn.004651ec
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004045b8
lea ecx, [ebp - 0x1c]
mov edx, 0x46793c
mov eax, esi
call fcn.004651ec
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004045b8
lea ecx, [ebp - 0x24]
mov edx, 0x467954
mov eax, esi
call fcn.004651ec
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004087d0
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408d18
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x46796c
mov eax, esi
call fcn.004651ec
mov eax, dword [ebp - 0x28]
call fcn.00462af0
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x46797c
mov eax, esi
call fcn.004651ec
mov eax, dword [ebp - 0x2c]
call fcn.00462af0
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x467994
mov eax, esi
call fcn.004651ec
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408d18
inc eax
je 0x467882
lea ecx, [ebp - 0x34]
mov edx, 0x467994
mov eax, esi
call fcn.004651ec
mov eax, dword [ebp - 0x34]
call fcn.00408cdc
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a25c
fstp qword [ebp - 0x3c]
wait
call fcn.0040a620
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x40]
mov edx, 0x4679a4
mov eax, esi
call fcn.004651ec
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x48]
call fcn.004045b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4678c6
lea eax, [ebp - 0x40]
call fcn.00404564
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404588
ret
Function at 0x47414c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4741a6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047413c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004614d4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004610d4
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4741ad
lea eax, [ebp - 4]
call fcn.00404564
ret
Function at 0x433100
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x478f38
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042da00
test eax, eax
je 0x433208
lea ecx, [esp + 0xc]
call fcn.00403a30
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042da00
mov ecx, eax
call fcn.0042b0a0
test eax, eax
je 0x4331ef
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x4331ef
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4331ef
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00403c30
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x4331d1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4331ef
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x6186f0]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x5eab70
call fcn.00403c30
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x435f90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4791c8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x435fc9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4360dc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x435fdd
mov eax, 0xffffffc7
jmp 0x4360de
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x435fee
cmp dword [esi + 8], eax
jne 0x435fdd
cmp dword [esi + 8], eax
jne 0x436007
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x436007
mov eax, 0xffffffc7
jmp 0x4360de
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43601b
push eax
mov ecx, ebx
call fcn.004357c0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00403a30
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43604c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00403a50
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00434f30
test eax, eax
mov dword [esp + 0x38], eax
je 0x43607f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5eab70
call fcn.00403c30
mov eax, dword [esp + 0x38]
jmp 0x4360de
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00435df0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4360c3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00435e10
mov esi, eax
test esi, esi
jne 0x4360f3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00435df0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x436095
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5eab70
call fcn.00403c30
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5eab70
call fcn.00403c30
mov eax, esi
jmp 0x4360de

Function at 0x439350
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4393b0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4393b0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4393b0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4393b0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4393f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4524b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
push ebx
push esi
mov esi, ecx
push edi
mov edi, 0x634cc8
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 0x10], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [esi + 4]
mov edi, ecx
push 1
push edi
mov ecx, ebx
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
call fcn.00453400
test al, al
je 0x452532
mov eax, dword [ebx + 4]
mov ecx, edi
mov edi, eax
mov eax, ecx
mov esi, 0x634cc8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x18]
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 4]
mov byte [ebx + eax], 0
add ebx, eax
lea ecx, [ebp - 0x210]
push ecx
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x45255c
lea edx, [ebp - 0x30]
push 0x5f8158
push edx
mov dword [ebp - 0x30], 4
call fcn.0045c8b2
push 0
mov ebx, 2
push 1
push ebx
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 0x58], eax
jne 0x452588
lea eax, [ebp - 0x2c]
push 0x5f8158
push eax
mov dword [ebp - 0x2c], 1
call fcn.0045c8b2
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x452603
mov ecx, dword [ebp + 0xc]
mov word [ebp - 0x40], bx
push ecx
call sub.WS2_32.dll_htons
mov edi, dword [ebp + 8]
mov word [ebp - 0x3e], ax
push edi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [ebp - 0x3c], eax
jne 0x4525c5
push edi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4525ee
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi + 0x58]
lea eax, [ebp - 0x40]
push 0x10
push eax
push ecx
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x452909
lea edx, [ebp - 0x28]
push 0x5f8158
push edx
mov dword [ebp - 0x28], ebx
call fcn.0045c8b2
lea edx, [ebp - 0x20]
push 0x5f8158
push edx
mov dword [ebp - 0x20], 3
call fcn.0045c8b2
lea ecx, [ebp - 0x80]
call fcn.00453a10
mov edx, dword [esi + 0x34]
lea eax, [esi + 0x48]
lea ecx, [esi + 0x38]
push eax
push ecx
push edx
sub esp, 0x10
lea eax, [esi + 0x24]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 1
call fcn.00453170
mov ecx, dword [esi + 0x20]
push ecx
lea ecx, [ebp - 0x80]
call fcn.00453b20
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 0xf]
push edx
mov edx, dword [ebp + 8]
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
push edx
call fcn.00453290
mov eax, dword [esi + 0x58]
lea ecx, [ebp - 0x80]
push eax
call fcn.00453d20
test eax, eax
jne 0x452672
lea ecx, [ebp - 0x24]
push 0x5f8158
push ecx
mov dword [ebp - 0x24], ebx
call fcn.0045c8b2
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.00453a80
jmp 0x452909
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x14], al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x452e80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], esp
mov al, byte [ecx + 0x14]
mov dword [ebp - 4], 0
test al, al
jne 0x452f20
lea ebx, [ecx + 4]
mov edi, 0x6074b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
mov ecx, ebx
push esi
mov dword [ebp - 0x18], esi
call fcn.00453400
test al, al
je 0x452efa
mov edi, dword [ebx + 4]
mov ecx, esi
mov eax, ecx
mov esi, 0x6074b0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 4]
add ebx, eax
mov byte [ebx], 0
push 1
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00451de0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
mov bl, 1
test eax, eax
mov byte [ebp - 4], bl
jne 0x452f31
mov eax, 0x5ef140
mov edx, dword [ebp + 0x10]
push 0
push edx
push eax
mov eax, dword [ecx + 0x58]
push eax
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x453075
lea ecx, [ebp - 0x1c]
push 0x5f8158
push ecx
mov dword [ebp - 0x1c], 1
call fcn.0045c8b2
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0x11], 0
dec eax
jne 0x452fb4
mov edi, 0x6074c4
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [edx + 4]
mov esi, ecx
push 1
push esi
mov ecx, ebx
mov dword [ebp - 0x18], esi
call fcn.00453400
test al, al
je 0x452fb4
mov edi, dword [ebx + 4]
mov ecx, esi
mov eax, ecx
mov esi, 0x6074c4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 4]
add ebx, eax
mov byte [ebx], 0
mov eax, 0x453072
ret
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x453098
mov al, byte [ecx - 1]
test al, al
je 0x45308e
cmp al, 0xff
je 0x45308e
dec al
mov byte [ecx - 1], al
jmp 0x453098
dec ecx
push ecx
call fcn.0046b4d0
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4530b0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
push ebx
push esi
mov esi, ecx
mov eax, 0x10624dd3
mov ecx, dword [esp + 0x118]
xor bl, bl
imul ecx
sar edx, 6
mov eax, edx
mov dword [esp + 0xc], ecx
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0x58]
lea ecx, [esp + 8]
mov dword [esp + 8], edx
push ecx
mov dword [esp + 0x18], eax
push 0
lea edx, [esp + 0x18]
push 0
inc eax
push edx
push eax
mov dword [esp + 0x24], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x453112
pop esi
xor al, al
pop ebx
add esp, 0x10c
ret 4
test eax, eax
jle 0x45312a
mov ecx, dword [esi + 0x58]
lea eax, [esp + 0x10]
push eax
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
mov al, 1
jne 0x45312c
mov al, bl
pop esi
pop ebx
add esp, 0x10c
ret 4
Function at 0x453e10
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov word [esp + 4], 2
mov ax, word [esi + 0x18]
push eax
call sub.WS2_32.dll_htons
mov word [esp + 6], ax
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x453e38
mov eax, 0x5ef2d4
push eax
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 8], eax
jne 0x453e68
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x453e53
mov esi, 0x5ef2d4
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x453e8a
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 4]
push 0x10
push ecx
push edx
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop esi
add esp, 0x10
ret 4
xor eax, eax
pop esi
add esp, 0x10
ret 4
Function at 0x46db0d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46db45
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046bbc1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046bb99
jmp 0x46db51
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46f1fb
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 0x46f23d
call fcn.00474d74
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46f23d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46f234
xor eax, eax
jmp 0x46f245
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046f24b
pop edi
pop esi
pop ebx
ret 4

Function at 0x4752a4
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 0x4752d2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4752f0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047520a
jmp 0x4752f0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4752f0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047520a
test edi, edi
mov eax, edi
jne 0x4752da
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x402bc3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x40a58c], 0
push esi
jne 0x402bfa
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x402bd4
mov dword [ecx*4 + 0x40a588], eax
inc ecx
cmp ecx, 0x100
jl 0x402bcf
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x402c2b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x40a588]
xor eax, esi
inc ecx
dec edx
jne 0x402c0d
pop edi
not eax
pop esi
ret 0xc
Function at 0x401307
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
jmp 0x4551d0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5293a0
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
push edi
mov esi, ecx
call fcn.004fe0ee
mov ecx, esi
call fcn.00401014
mov eax, dword [esi + 0x64]
lea ebp, [esi + 0x64]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45526b
push 0x55681c
lea ecx, [esp + 0x18]
call fcn.004fdf08
lea ecx, [esi + 0x1890]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x3c], 0
call sub.MFC42.DLL_operator_2
push eax
mov ecx, ebp
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov dword [esi + 0x188c], eax
mov dword [esi + 0x1894], eax
mov eax, dword [esi + 0x88]
mov edi, dword [0x56df08]
push 0
push 0
push 0x146
push eax
call edi
cmp eax, 5
jne 0x45529a
mov ecx, dword [esi + 0x88]
push 0
push 0
push 0x144
push ecx
call edi
mov eax, dword [ebp]
mov edx, dword [esi + 0x88]
push eax
push 0xffffffffffffffff
push 0x14c
push edx
call edi
test eax, eax
jl 0x4552c3
push 0
push eax
mov eax, dword [esi + 0x88]
push 0x14e
push eax
jmp 0x4552e6
mov eax, dword [ebp]
mov ecx, dword [esi + 0x88]
push eax
push 0
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x88]
push 0
push eax
push 0x14e
push edx
call edi
push ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], 2
cmp dword [eax - 8], 1
jle 0x455354
push eax
lea ecx, [esp + 0x1c]
call fcn.00402e9b
mov eax, dword [esp + 0x24]
mov byte [esp + 0x30], 3
test eax, eax
jne 0x455346
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esi + 0x42c]
call fcn.004024ff
mov edx, dword [esp + 0xc]
mov ecx, esi
push edx
call fcn.0040251d
mov eax, dword [esp + 0x20]
mov dword [esi + 0x1888], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.004016a9
push esi
push 0x2f56
lea ecx, [esi + 0x42c]
call sub.MFC42.DLL_CWnd::SubclassDlgItem
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x401442
Capabilities:
Set registry value

Disassembly:
jmp 0x407390
sub esp, 0xc
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push 0
push eax
push 0
mov ebp, ecx
push 0x20006
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
push ecx
push 0x80000001
mov dword [esp + 0x34], 0
call dword [0x56ca48]
push 0
push 0
push 3
push 0
lea ebx, [ebp + 0xc]
push 1
push 0x80000000
push ebx
mov dword [esp + 0x34], ebx
call dword [0x56ce20]
mov edi, eax
mov eax, dword [ebp + 0x128]
mov edx, eax
shl edx, 8
sub edx, eax
add edx, 0x10
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
mov eax, dword [ebp + 0x128]
mov dword [esp + 0x14], esi
push esi
push 0
push 0
push edi
mov dword [esi + 8], eax
call dword [0x56ce24]
push edi
call dword [0x56ce34]
mov ecx, dword [ebp + 0x128]
xor eax, eax
test ecx, ecx
lea edx, [esi + 0xc]
mov dword [esp + 0x20], eax
jle 0x4074e1
jmp 0x40743c
mov eax, dword [esp + 0x20]
cmp eax, dword [ebp + 0x128]
jge 0x407453
test eax, eax
jl 0x407453
mov ecx, dword [ebp + 0x124]
mov ebx, dword [ecx + eax*4]
jmp 0x407455
xor ebx, ebx
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ebx
mov dword [edx - 4], ecx
inc ecx
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebx, 0x104
mov edi, ebx
mov esi, ebx
lea edx, [edx + ecx + 1]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [edx], ecx
add edx, 4
inc ecx
mov edi, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x20]
not ecx
dec ecx
inc eax
mov dword [esp + 0x20], eax
lea edx, [edx + ecx + 1]
mov ecx, dword [ebp + 0x128]
cmp eax, ecx
jl 0x407438
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub edx, esi
push edx
push esi
push 3
push 0
push ebx
push ecx
call dword [0x56ca4c]
mov edx, dword [esp + 0x10]
push edx
call dword [0x56ca2c]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4