joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fbbe0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56f551
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x4fbc1d
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.005620ec
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.00561434
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.004f4c30
lea ecx, [esp + 8]
call fcn.00562397
lea ecx, [esp + 0x30]
call fcn.00561598
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.00561434
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.004f50a0
lea ecx, [esp + 0x74]
call fcn.00561598
lea ecx, [esp + 8]
call fcn.00562398
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.004f2840
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.004f4b40
mov ecx, esi
call fcn.004f56e0
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.004f4b40
mov ecx, esi
call fcn.004f56e0
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.004f4b40
mov ecx, esi
call fcn.004f56e0
mov ecx, dword [edi + 0x5c]
call fcn.004f2020
push eax
mov ecx, esi
call fcn.004f2030
mov ecx, dword [edi + 0x5c]
call fcn.004f25e0
push eax
mov ecx, esi
call fcn.004f2580
mov ecx, dword [edi + 0x5c]
call fcn.004f2700
push eax
mov ecx, esi
call fcn.004f26b0
mov ecx, dword [edi + 0x5c]
push 0
call fcn.004f1900
push eax
mov ecx, esi
call fcn.004f1910
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.00561510
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.00561510
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.005621b1
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x4fd3c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x56f777
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.00557f0d
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.00557f0d
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004fdee0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x4fdf30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56f850
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00564e88
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4fdf63
xor al, al
jmp 0x4fe08f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x4fdf85
xor al, al
jmp 0x4fe08f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4fdf98
xor al, al
jmp 0x4fe08f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4fdfac
xor al, al
jmp 0x4fe08f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.00557fd2
test eax, eax
jne 0x4fdfe0
xor al, al
jmp 0x4fe08f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x12d91ec
mov dword [esp + 0x20], ebp
call fcn.00564e88
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.005610d0
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.00561127
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4fe074
mov ax, word [ebx]
test ax, ax
je 0x4fe066
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004fe0b0
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4fe04a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.00561127
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4fe5f0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.005627d5
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4fe636
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.0053bca8
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x13c941c
push ecx
call fcn.0053d9cd
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x503da0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x503ef5
cmp di, 0x801
ja 0x503ef5
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x503ef5
cmp bx, 0xc
ja 0x503ef5
mov al, byte [esp + 0x30]
test al, al
je 0x503df4
push edi
call fcn.00504330
add esp, 4
cmp ax, bx
je 0x503df4
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.00503f00
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.00503d20
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x503ef5
test ebx, ebx
jne 0x503e89
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x503eeb
test al, al
je 0x503e7c
push 0xffffffffffffffe1
jmp 0x503e7e
push 0x1f
push ebp
push edi
push esi
call fcn.00503cd0
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.00503cd0
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.00503f00
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.00503d20
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x503e56
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x5055a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x570088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x140ba14
lea ecx, [esp + 4]
call fcn.0055a085
push 0x13d0930
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.0055a085
push 0x13d092c
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.0055a085
push 0x13d0928
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.0055a085
push 0x13d0924
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.0055a085
push 0x13d0920
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.0055a085
push 0x13d091c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.0055a085
push 0x13d0918
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.0055a085
push 0x13d0914
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.0055a085
push 0x13d0910
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.0055a085
push 0x13d090c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.0055a085
push 0x13d0908
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.0055a085
push 0x13d0904
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.0055a085
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x5056d0
cmp eax, 0xc
jle 0x5056d0
mov ecx, dword [esp + 0x48]
push 0x140ba14
call fcn.0055a1a0
jmp 0x5056de
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.0055a150
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.0055a017
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.0055a017
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.0055a017
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.0055a017
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.0055a017
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.0055a017
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.0055a017
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.0055a017
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.0055a017
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.0055a017
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.0055a017
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.0055a017
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0055a017
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x505d80
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x570293
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CWnd.virtual_0
lea ecx, [esi + 0x5dc]
mov dword [esp + 0x18], 3
call fcn.0055a017
lea edi, [esi + 0xbc]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x4dc]
mov byte [esp + 0x18], 8
call fcn.00562e67
lea ecx, [edi + 0x4a0]
mov byte [esp + 0x18], 7
call fcn.00562e67
lea ecx, [edi + 0x488]
mov byte [esp + 0x18], 6
call fcn.0055a017
lea ecx, [edi + 0x484]
mov byte [esp + 0x18], 5
call fcn.0055a017
lea ecx, [edi + 0x5c]
mov byte [esp + 0x18], 4
call fcn.00502d00
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.0055ae7e
lea ecx, [esi + 0x80]
mov byte [esp + 0x18], 1
call fcn.00562ca3
lea edi, [esi + 0x48]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0xd
call fcn.0055a017
lea ecx, [edi + 0x28]
mov byte [esp + 0x18], 0xc
call fcn.0055a017
lea ecx, [edi + 0x24]
mov byte [esp + 0x18], 0xb
call fcn.0055a017
lea ecx, [edi + 0x20]
mov byte [esp + 0x18], 0xa
call fcn.0055a017
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 9
call fcn.0055a017
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
call fcn.0055a017
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0055c27a
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x506910
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x570405
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], method.CWnd.virtual_0
mov dword [esp + 0x18], 0
lea esi, [edi + 0x84]
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x4dc]
mov byte [esp + 0x18], 7
call fcn.00562e67
lea ecx, [esi + 0x4a0]
mov byte [esp + 0x18], 6
call fcn.00562e67
lea ecx, [esi + 0x488]
mov byte [esp + 0x18], 5
call fcn.0055a017
lea ecx, [esi + 0x484]
mov byte [esp + 0x18], 4
call fcn.0055a017
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 3
call fcn.00502d00
mov ecx, esi
mov byte [esp + 0x18], 2
call fcn.0055ae7e
lea ecx, [edi + 0x80]
mov byte [esp + 0x18], 1
call fcn.0055a017
lea esi, [edi + 0x48]
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0xc
call fcn.0055a017
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 0xb
call fcn.0055a017
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 0xa
call fcn.0055a017
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 9
call fcn.0055a017
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 8
call fcn.0055a017
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 0
call fcn.0055a017
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call fcn.0055c27a
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x51a820
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x51a86c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x51a86c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x51a856
push eax
call ebp
test ax, ax
jl 0x51a864
inc esi
add edi, 4
cmp esi, 6
jb 0x51a848
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0051a520
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x51e600
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x51e660
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x51e660
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x51e660
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x51e660
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 0x51e670
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 0x523350
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 0x5233b6
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 0x5233b6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x523397
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x523740
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x523778
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 0x524400
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 0x524449
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 0x5248c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5721a0
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.00524470
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.005244f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.005244f0
lea ecx, [esi + 0xc]
call fcn.00559fa2
lea ecx, [esi + 0x10]
call fcn.00559fa2
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00525a80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00525a80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00525a80
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0055a017
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0055a017
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x55aebc
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 0x55aede
cmp dword [edi + 0x3c], 0
jne 0x55aede
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00564e88
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0055af0b
pop edi
pop esi
pop ebx
ret 8

Function at 0x55c5b6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x55c5ee
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.0055a4be
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0055a496
jmp 0x55c5fa
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x55ddb0
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 0x55ddf2
call fcn.00564e88
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x55ddf2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x55dde9
xor eax, eax
jmp 0x55ddfa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0055de00
pop edi
pop esi
pop ebx
ret 4

Function at 0x56539c
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 0x5653ca
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5653e8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00565302
jmp 0x5653e8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5653e8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00565302
test edi, edi
mov eax, edi
jne 0x5653d2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x401036
and dword [eax + 0x14], 0
and dword [eax + 0x18], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret 4

Function at 0x403ba7
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
push ebx
push esi
je 0x403c00
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x403c00
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x403c00
mov eax, dword [ebx]
push edi
mov edi, dword [esi]
mov dword [ebp + 8], 0x11
mov edx, dword [ebp + 8]
xor eax, dword [ecx + edx*4]
mov dword [ebp - 4], eax
call fcn.00403b60
xor eax, edi
dec dword [ebp + 8]
cmp dword [ebp + 8], 1
mov edi, dword [ebp - 4]
ja 0x403bd0
mov edx, eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
xor eax, edx
xor ecx, edi
mov dword [ebx], ecx
mov dword [esi], eax
mov al, 1
pop edi
jmp 0x403c02
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x403c06
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
push esi
push edi
je 0x403c5d
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x403c5d
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x403c5d
mov eax, dword [edi]
and dword [ebp + 8], 0
push ebx
mov ebx, dword [esi]
mov edx, dword [ebp + 8]
xor eax, dword [ecx + edx*4]
mov dword [ebp - 4], eax
call fcn.00403b60
xor eax, ebx
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x10
mov ebx, dword [ebp - 4]
jb 0x403c2c
mov edx, eax
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
xor eax, edx
xor ecx, ebx
mov dword [edi], ecx
mov dword [esi], eax
mov al, 1
pop ebx
jmp 0x403c5f
xor al, al
pop edi
pop esi
leave
ret
Function at 0x403c63
Capabilities:
Encrypt data using blowfish

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x403c79
xor al, al
jmp 0x403d38
push 0x10
pop eax
cmp dword [ebp + 0x10], eax
jbe 0x403c84
mov dword [ebp + 0x10], eax
push esi
push edi
push 0x12
pop ecx
push 0x1000
lea eax, [ebx + 0x48]
push 0x4c68c0
mov esi, 0x4c6878
mov edi, ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00487e50
add esp, 0xc
xor edx, edx
xor ecx, ecx
push 4
xor eax, eax
pop esi
mov edi, dword [ebp + 0xc]
movsx edi, byte [edx + edi]
shl eax, 8
or eax, edi
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x403cc5
xor edx, edx
dec esi
jne 0x403cb1
xor dword [ebx + ecx*4], eax
inc ecx
cmp ecx, 0x12
jb 0x403cac
xor esi, esi
mov dword [ebp + 8], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push ebx
call fcn.00403c06
mov eax, dword [ebp + 8]
mov dword [ebx + esi*4], eax
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebx + esi*4 + 4], eax
inc esi
inc esi
cmp esi, 0x12
jb 0x403cd9
lea esi, [ebx + 0x4c]
mov dword [ebp - 8], 4
mov edi, 0x80
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push ebx
call fcn.00403c06
mov eax, dword [ebp + 8]
mov dword [esi - 4], eax
mov eax, dword [ebp - 4]
mov dword [esi], eax
add esp, 0xc
add esi, 8
dec edi
jne 0x403d0d
dec dword [ebp - 8]
jne 0x403d08
pop edi
mov al, 1
pop esi
pop ebx
leave
ret