joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f05f0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x6225a0]
sub esp, 0x310
test eax, eax
push esi
je 0x4f061d
push eax
lea eax, [esp + 8]
push 0x5ed5f0
push eax
push 0xe6
call fcn.004ef5a0
add esp, 0x10
jmp 0x4f06a3
call fcn.004f0110
test eax, eax
je 0x4f065c
lea ecx, [esp + 0x10c]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x10c]
push edx
call fcn.004efb50
mov esi, eax
add esp, 4
test esi, esi
jne 0x4f0685
mov eax, 7
pop esi
add esp, 0x310
ret
lea ecx, [esp + 0x10c]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x10c]
push edx
call fcn.004efb20
mov esi, eax
add esp, 4
test esi, esi
je 0x4f064f
push esi
lea eax, [esp + 8]
push 0x5ed5f0
push eax
push 0xe6
call fcn.004ef5a0
push esi
call fcn.0057084e
add esp, 0x14
lea ecx, [esp + 4]
push ecx
call fcn.004ef7c0
add esp, 4
test eax, eax
jbe 0x4f06c2
lea ecx, [esp + 4]
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x4f06c2
dec eax
jne 0x4f06b9
push ebx
mov byte [esp + eax + 8], 0
mov eax, dword [esp + 0x31c]
lea edx, [esp + 8]
push edi
mov edi, dword [esp + 0x324]
push edx
push str._setilqs_
add eax, 0xffffffe2
push edi
push eax
call fcn.004ef5a0
push edi
call fcn.004ef7c0
mov esi, eax
lea ecx, [esi + edi]
push ecx
push 0x14
call fcn.004ef600
add esp, 0x1c
mov ecx, 0x14
xor eax, eax
xor edx, edx
mov al, byte [esi + edi]
mov ebx, 0x3e
div ebx
inc esi
dec ecx
mov dl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [esi + edi - 1], dl
jne 0x4f0706
mov byte [esi + edi], 0
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x310
ret

Function at 0x4f4cf0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
push edi
mov ebp, dword [esi + 0x5c]
cmp ebx, ebp
jle 0x4f4dce
mov cl, byte [esi + 6]
test cl, cl
je 0x4f4dce
mov ecx, dword [esi + 0x58]
mov eax, ebx
shl eax, 5
push eax
push ecx
call fcn.004ee400
mov edx, eax
add esp, 8
test edx, edx
jne 0x4f4d36
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
ret
mov ecx, ebx
mov eax, ebp
sub ecx, ebp
shl eax, 5
shl ecx, 5
mov ebx, ecx
lea edi, [eax + edx]
xor eax, eax
mov dword [esp + 0x14], edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov ebx, dword [esp + 0x18]
and ecx, 3
cmp ebp, ebx
rep stosb byte es:[edi], al
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], ebx
jge 0x4f4dc5
mov ecx, dword [esp + 0x14]
lea edi, [ecx + 0x18]
mov edx, dword [esi + 0x18]
mov dword [edi - 4], edx
mov eax, dword [esi + 0x3c]
cmp dword [eax], 0
je 0x4f4d94
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
test eax, eax
jl 0x4f4d94
jg 0x4f4d8c
test ecx, ecx
jbe 0x4f4d94
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], eax
jmp 0x4f4da1
mov ecx, dword [esi + 0x70]
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], 0
mov edx, dword [esi + 0x30]
mov dword [edi], edx
mov eax, dword [esi + 0x18]
push eax
call fcn.004f21e0
add esp, 4
mov dword [edi - 8], eax
test eax, eax
je 0x4f4d2c
inc ebp
add edi, 0x20
cmp ebp, ebx
jl 0x4f4d6e
push esi
call fcn.004f49a0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x502a20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
push ecx
call fcn.00502bb0
mov ebx, eax
xor eax, eax
mov ax, word [esi + 0xc]
mov ecx, dword [esi + 0x3c]
mov ebp, dword [esi + 0x40]
mov dword [esp + 0x18], eax
xor eax, eax
xor edx, edx
mov ax, word [esi + 0x10]
mov dl, byte [esi + 5]
mov dword [esp + 0x1c], eax
xor eax, eax
mov ax, word [ecx + 0x18]
xor ecx, ecx
mov ch, byte [edx + ebp + 5]
mov dword [esp + 0x28], ebx
mov cl, byte [edx + ebp + 6]
add esp, 4
mov edi, ecx
mov ecx, eax
sub ecx, edi
mov dword [esp + 0x28], edx
lea esi, [edi + ebp]
add edi, ebx
mov ebx, ecx
mov dword [esp + 0x1c], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, eax
and ecx, 3
mov dword [esp + 0x20], 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x502b45
mov edx, dword [esp + 0x14]
lea esi, [edx + ebp]
mov dword [esp + 0x10], esi
jmp 0x502aba
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
xor ecx, ecx
mov ch, byte [esi]
mov cl, byte [esi + 1]
mov edi, ecx
cmp edi, eax
jge 0x502ba2
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
lea esi, [edi + edx]
push esi
push eax
call fcn.00501ed0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
and eax, 0xffff
add esp, 8
sub ebx, eax
lea ecx, [ecx + edx*2]
cmp ebx, ecx
jl 0x502ba2
lea ecx, [eax + edi]
mov edi, dword [esp + 0x1c]
cmp ecx, edi
jg 0x502ba2
mov ecx, eax
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
add eax, 2
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
mov byte [eax - 1], bl
sar ecx, 8
mov byte [eax - 2], cl
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x10], eax
cmp ecx, edx
mov dword [esp + 0x20], ecx
jl 0x502ab2
mov edx, dword [esp + 0x28]
mov eax, ebx
mov ecx, dword [esp + 0x14]
sar eax, 8
mov byte [edx + ebp + 5], al
mov byte [edx + ebp + 6], bl
mov byte [edx + ebp + 1], 0
mov byte [edx + ebp + 2], 0
mov byte [edx + ebp + 7], 0
mov edx, dword [esp + 0x18]
xor eax, eax
lea edx, [ecx + edx*2]
sub ebx, edx
mov ecx, ebx
lea edi, [edx + ebp]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x30]
xor eax, eax
pop edi
pop esi
mov ax, word [ecx + 0xe]
pop ebp
mov edx, eax
mov eax, ebx
sub eax, edx
pop ebx
neg eax
sbb eax, eax
and eax, 0xb
add esp, 0x1c
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x1c
ret
Function at 0x503fe0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebp
push esi
push 0
mov ebp, dword [eax + 0x58]
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
mov ecx, dword [ebp + 0x48]
mov esi, dword [ebp + 0x3c]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x2c], esi
call fcn.004f65b0
add esp, 0x14
test eax, eax
jne 0x50417c
mov ecx, dword [ebp + 0x40]
mov ax, word [esi + 0x18]
push ebx
xor ebx, ebx
mov bl, byte [ebp + 5]
mov dword [esp + 0x14], ecx
push edi
xor edi, edi
lea esi, [ebx + ecx]
mov ecx, dword [esp + 0x10]
mov di, word [ebp + 0xc]
xor edx, edx
mov ecx, dword [ecx + 0x40]
mov dh, byte [esi + 5]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov cx, word [ebp + 0x10]
mov dl, byte [esi + 6]
lea ecx, [edi + ecx*2]
mov edi, dword [esp + 0x14]
sub ecx, ebx
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
sub ecx, edx
lea esi, [edx + eax]
mov eax, dword [esp + 0x14]
lea edi, [eax + edx]
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]
mov eax, dword [esp + 0x10]
push eax
call fcn.004f6190
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x50416b
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov cl, byte [ebp + 1]
lea esi, [ebp + 0x14]
shl ecx, 3
mov eax, ecx
lea edi, [edx + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x10]
mov cl, byte [ebp + 1]
mov byte [edx + 1], cl
mov eax, dword [esp + 0x10]
cmp byte [eax + 1], bl
je 0x5040d3
mov word [eax + 0xe], bx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov cl, byte [eax]
and ecx, 0xfffffff7
push ecx
push ebp
call fcn.004f5200
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp + 0x40]
xor eax, eax
push edx
mov al, byte [ebp + 5]
lea edx, [eax + ecx + 8]
push edx
call fcn.004f4050
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp byte [eax + 0x13], bl
je 0x504142
mov ecx, dword [ebp + 0x48]
mov edx, dword [esp + 0x10]
push ecx
push 5
mov ecx, dword [edx + 0x48]
push ecx
push eax
call fcn.004f5b80
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x504137
mov edx, dword [esp + 0x10]
push edx
call fcn.004f5c30
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x504142
mov eax, dword [esp + 0x10]
cmp esi, ebx
mov byte [eax + 1], bl
jne 0x50416b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push eax
inc word [eax + 0x54]
mov dword [eax + 0x5c], ecx
mov word [eax + 0xa8], bx
call fcn.00502d60
add esp, 4
mov esi, eax
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x14
ret
mov edx, dword [esp + 0x10]
push edx
call fcn.004f5070
add esp, 4
mov eax, esi
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x507670
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0xc]
test eax, eax
jg 0x50768d
push edi
call fcn.004ef7c0
add esp, 4
test eax, eax
jle 0x5076a8
xor ecx, ecx
xor edx, edx
mov cl, byte [edi]
mov dl, byte [ecx + 0x5bbe2c]
lea ecx, [esi*8]
xor edx, ecx
xor esi, edx
inc edi
dec eax
jne 0x50768d
mov eax, esi
pop edi
and eax, 0x7fffffff
pop esi
ret
Function at 0x514d20
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x514d31
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov ebx, dword [esp + 0x10]
push 0x44
push ebx
call fcn.004ee570
mov esi, eax
add esp, 8
test esi, esi
jne 0x514d4a
pop edi
pop esi
pop ebx
ret
mov eax, dword [edi]
push eax
push ebx
call fcn.00514c20
mov dword [esi], eax
mov ecx, dword [edi + 8]
push ecx
push ebx
call fcn.00514e00
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
push edx
push ebx
call fcn.00514b70
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
push eax
push ebx
call fcn.00514c20
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
push ecx
push ebx
call fcn.00514b70
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
push edx
push ebx
call fcn.00514c20
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov ecx, dword [edi + 0x1c]
push ecx
push ebx
call fcn.00514d20
mov dword [esi + 0x1c], eax
mov edx, dword [edi + 0x28]
push edx
push ebx
call fcn.00514b70
add esp, 0x40
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push ebx
call fcn.00514b70
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov cx, word [edi + 6]
add esp, 8
or eax, 0xffffffff
and ecx, 0xfff7
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov word [esi + 6], cx
mov dword [esi + 0x24], 0
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x531400
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x531473
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x531468
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.0057294d
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x542950
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x596ca6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x5f301c]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xac], ebx
call fcn.00583deb
cmp dword [0x62e664], ebx
je 0x5429c0
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00581956
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0x5f301c]
push ebp
push edi
mov edi, 1
mov dword [0x62e664], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x5429e9
mov dword [esp + 0x20], ebx
jmp 0x5429f0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.005860a3
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.00581a8f
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x542a4e
mov dword [esp + 0x14], ebx
jmp 0x542a55
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x542a6f
mov eax, dword [eax + 0x3c4]
cmp eax, edi
je 0x542a69
cmp eax, 2
jne 0x542a6f
mov dword [esp + 0x18], edi
jmp 0x542a73
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x542a81
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00583421
mov edi, eax
cmp edi, ebx
jne 0x542a91
xor eax, eax
jmp 0x542a94
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x542abc
mov ecx, esi
call fcn.005860a3
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x542ad4
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x62e664], 0
test eax, eax
je 0x542afd
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x542afd
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.00581956
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00581956
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x544a30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x596e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00588893
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.00544970
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.005887c1
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x544af7
cmp dword [esp + 0x40], 1
jne 0x544af5
cmp ecx, eax
jge 0x544af7
mov eax, ecx
cmp eax, 0x12c
jge 0x544b03
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.00544b50
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00588905
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x548d60
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x597386
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x5f301c]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.00583deb
mov edx, dword [0x5f301c]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x548dba
mov dword [esp + 0x1c], ebx
jmp 0x548dc1
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.005860a3
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.00581a8f
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x548e12
mov dword [esp + 0x14], ebx
jmp 0x548e19
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x548e34
mov eax, dword [eax + 0x3c4]
cmp eax, edi
je 0x548e2e
cmp eax, 2
jne 0x548e34
mov dword [esp + 0x18], edi
jmp 0x548e38
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x548e46
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00583421
mov edi, eax
cmp edi, ebx
jne 0x548e56
xor eax, eax
jmp 0x548e59
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x548e81
mov ecx, esi
call fcn.005860a3
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x548e9d
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x548ebc
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x548ebc
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.00581956
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.00581956
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x54ab50
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x54abb6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x54abb6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x54ab97
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x54af40
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x54af78
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x54bba0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x54bbe9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x54c060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x597850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0054bc10
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0054bc90
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0054bc90
lea ecx, [esi + 0xc]
call fcn.005818e1
lea ecx, [esi + 0x10]
call fcn.005818e1
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0054d220
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0054d220
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0054d220
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00581956
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00581956
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x550047
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x597db6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call fcn.00580449
mov eax, dword [0x5f301c]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x48], eax
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ebx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x5c1664
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
je 0x5500a4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.00581697
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x55b240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x55b3fd
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x55b376
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x55b376
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x55b35d
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x55b35d
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.0055c4b0
mov ebp, eax
test ebp, ebp
je 0x55b355
push ebp
mov ecx, esi
call fcn.0055da10
test eax, eax
je 0x55b355
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x55b355
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x55b316
xor eax, eax
jmp 0x55b31e
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.0055e3b0
inc ebx
xor ebp, ebp
jmp 0x55b2a7
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x55b280
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.0055c7c0
test eax, eax
pop ebx
je 0x55b3fd
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.0055c4b0
mov edi, eax
cmp edi, ebp
je 0x55b3fd
push edi
mov ecx, esi
call fcn.0055da10
test eax, eax
je 0x55b3fd
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.0055ca00
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.0055ca70
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.0055e3b0
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4