joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e9840
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4e9873
push esi
call fcn.004ec930
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4e986c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4e98f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4e98e2
mov eax, dword [esi + 8]
test eax, eax
je 0x4e9897
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4e98de
cmp eax, 2
je 0x4e98e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4e988a
cmp eax, 3
je 0x4e98bd
cmp eax, 1
jne 0x4e988a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4e988a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4e988a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004e9920
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4e9908
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004e9920
add esp, 4
pop esi
ret

Function at 0x4f6a50
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + 0x68a610]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x68a5a0]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4f6a63
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4f6aa4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x68a648]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4f6ad6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4f6ada
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4f6acb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4f6af8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4f6afc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4f6aed
xor ecx, ecx
mov eax, 0x68a5b0
xor ebx, ebx
mov bl, byte [ecx + 0x68a658]
cmp byte [esp + ebx + 0x14], 0
je 0x4f6b27
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x68a670]
cmp byte [esp + ebx + 0x14], 0
je 0x4f6b3e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, 0x68a610
jl 0x4f6b0e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4f6a97
lea edx, [esp + 0x84]
push edx
call fcn.004f6b80
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x50bec7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x50beff
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA_1]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00509f6e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA_1]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00509f46
jmp 0x50bf0b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x50d5bd
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 0x50d5ff
call fcn.00512f59
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA_1]
cmp eax, edi
je 0x50d5ff
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource_1]
cmp eax, edi
jne 0x50d5f6
xor eax, eax
jmp 0x50d607
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource_1]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0050d60d
pop edi
pop esi
pop ebx
ret 4

Function at 0x517d50
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x574b48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.00538d97
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x38], 0
call fcn.005640f7
lea ecx, [esp + 0x3c]
push 1
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.005615e0
mov eax, dword [eax]
push 0x6a08d0
push eax
call fcn.00541304
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
setne bl
call fcn.00564089
test bl, bl
je 0x517dd0
push 0x6a08d0
lea ecx, [esp + 0xc]
call fcn.00564465
push 0x6a08cc
lea ecx, [esp + 0xc]
call fcn.00564465
mov edx, dword [esp + 8]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.00538e5a
test eax, eax
je 0x517e94
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push edi
mov bl, 2
lea ecx, [esp + 0x18]
call fcn.0053907a
mov edi, eax
mov eax, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [eax + 0x38]
test eax, eax
je 0x517e50
lea ecx, [esp + 0x18]
call fcn.00539041
test eax, eax
jne 0x517e50
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00539149
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x40], bl
call fcn.00517d50
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x44]
jmp 0x517e85
lea ecx, [esp + 0x18]
call fcn.00539041
test eax, eax
jne 0x517e8a
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
test eax, eax
jne 0x517e8a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.00539149
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x14]
call fcn.00564089
test edi, edi
jne 0x517e00
pop edi
pop ebp
lea ecx, [esp + 0x10]
call fcn.00538e10
lea ecx, [esp + 8]
mov byte [esp + 0x34], 0
call fcn.00564089
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.00538dd4
mov ecx, dword [esp + 0x2c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x517f90
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x574b76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x6a361c]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.00564212
push str..
lea ecx, [esp + 0x10]
call fcn.00564465
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x518033
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.00564089
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.00564089
xor eax, eax
jmp 0x518178
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x6a08f0
push edx
call fcn.00541304
add esp, 8
test eax, eax
je 0x518129
lea eax, [esp + 0x48]
push 0x6a08ec
push eax
call fcn.00541304
add esp, 8
test eax, eax
je 0x518129
test ebp, ebp
jne 0x518095
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.005413b3
add esp, 8
test eax, eax
je 0x518129
push esi
lea ecx, [esp + 0x14]
call fcn.00564212
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0056448c
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.00564465
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test al, 1
je 0x5180d5
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x5180f7
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.00517f90
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
jmp 0x518129
test edi, edi
je 0x51811e
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.005413b3
add esp, 8
test eax, eax
jne 0x51811e
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.005181a0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x518043
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.00564089
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.00564089
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x5181a0
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x574b8b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.00541bd0
mov eax, dword [0x6a361c]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.00564212
push 0x5c
lea ecx, [esp + 8]
call fcn.0056448c
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.00564465
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x518246
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.00564089
xor eax, eax
jmp 0x5182c3
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
test esi, esi
jbe 0x5182a1
mov ebx, dword [sym.imp.KERNEL32.DLL_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x518293
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x51826d
jmp 0x5182a1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.00564089
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8
Function at 0x5182e0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x14
push ebp
push esi
mov esi, dword [esp + 0x24]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebp
je 0x518410
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
push eax
push 0x40000
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x5183ff
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
push ecx
push 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x5183ff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5183fa
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push 0x20019
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x5183ff
push eax
push eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x34]
push ebp
lea eax, [esp + 0x44]
push edx
push eax
push ebp
push ebp
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x5183ff
push 0x105
call fcn.00563dca
mov esi, eax
mov eax, dword [esp + 0x30]
add esp, 4
xor edi, edi
test eax, eax
jbe 0x5183f1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edx, dword [esp + 0x10]
push 0x105
push esi
push edi
push edx
call ebx
test eax, eax
jne 0x5183e1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.005182e0
jmp 0x5183e8
cmp eax, 0x103
je 0x5183f1
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
jb 0x5183b7
push esi
call fcn.00563df3
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x518410
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop esi
pop ebp
add esp, 0x14
ret 0x10
Function at 0x51be40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x574ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
push ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], al
call fcn.0051b7b0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x51be85
xor eax, eax
jmp 0x51be8a
mov eax, dword [eax + 8]
add eax, ecx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
push eax
push ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.0051c4a0
mov esi, dword [esp + 0x48]
mov dl, byte [esp + 0x28]
add esp, 0x1c
lea ecx, [esp + 0xc]
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x598a30]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.0051b530
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x51bf08
mov al, byte [ecx - 1]
cmp al, bl
je 0x51befe
cmp al, 0xff
je 0x51befe
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call fcn.00563df3
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5750f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00522990
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x6d9df4
call fcn.00542f07
mov ecx, dword [0x598a30]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0051b530
mov esi, 0x598abc
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x522647
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x52263e
cmp al, 0xff
je 0x52263e
dec al
mov byte [ecx], al
jmp 0x522647
push ecx
call fcn.00563df3
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0055fcd0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x52268d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x522684
cmp al, 0xff
je 0x522684
dec al
mov byte [ecx], al
jmp 0x52268d
push ecx
call fcn.00563df3
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00542f8e
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x5290e0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x6a18ac]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x5290f3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x529134
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x6a1954]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x529166
mov bl, byte [esp + ecx + 0x4c]
jmp 0x52916a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x52915b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x529188
mov bl, byte [esp + ecx + 0x4c]
jmp 0x52918c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x52917d
xor ecx, ecx
mov eax, 0x6a18bc
xor ebx, ebx
mov bl, byte [ecx + 0x6a1964]
cmp byte [esp + ebx + 0x14], 0
je 0x5291b7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x6a197c]
cmp byte [esp + ebx + 0x14], 0
je 0x5291ce
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x52919e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x529127
lea edx, [esp + 0x84]
push edx
call fcn.00529210
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x52b7b0
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 0x52b7f9
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 0x52bc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x575400
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.0052b820
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0052b8a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0052b8a0
lea ecx, [esi + 0xc]
call fcn.00564014
lea ecx, [esi + 0x10]
call fcn.00564014
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0052ce30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0052ce30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0052ce30
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00564089
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00564089
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x52d020
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 0x52d086
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 0x52d086
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x52d067
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x55a2f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x576c30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.0054f3cf
mov eax, dword [0x665148]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.0054f301
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.0055adf0
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x55a397
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x55a38e
cmp al, 0xff
je 0x55a38e
dec al
mov byte [ecx], al
jmp 0x55a397
push ecx
call fcn.00563df3
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x55a3c8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x55a3bf
cmp al, 0xff
je 0x55a3bf
dec al
mov byte [ecx], al
jmp 0x55a3c8
push ecx
call fcn.00563df3
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x56647c
Capabilities:
Get graphical window text

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

Function at 0x567b6f
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 0x567bb1
call fcn.0056d958
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x567bb1
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x567ba8
xor eax, eax
jmp 0x567bb9
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00567bbf
pop edi
pop esi
pop ebx
ret 4

Function at 0x56de88
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 0x56deb6
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x56ded4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0056ddee
jmp 0x56ded4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x56ded4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0056ddee
test edi, edi
mov eax, edi
jne 0x56debe
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4112a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pushal
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x403077
sub eax, 0x2000
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x40300c
sub eax, 0x2000
add eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x403106
sub eax, 0x2000
add eax, dword [ebp + 0x10]
call dword [eax]
push eax
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x403023
sub eax, 0x2000
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x40300c
sub eax, 0x2000
add eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x403106
sub eax, 0x2000
add eax, dword [ebp + 0x10]
call dword [eax]
pop eax
call eax
or eax, eax
jne 0x411369
push eax
jmp 0x411377
cmp eax, 0x7f
jne 0x411375
push 0x100
jmp 0x411377
push 1
mov esi, dword [ebp + 8]
mov ebx, 0xa
mov ecx, dword [ebp + 0xc]
shr ecx, 2
xor edx, edx
mov eax, dword [ebp + 0xc]
shr eax, 2
sub eax, ecx
push eax
div ebx
inc edx
inc edx
sub dword [esi], edx
xor edx, edx
pop eax
div ebx
add edx, dword [esp]
push edx
add dword [esp], 0x4530ec21
pop edx
xor dword [esi], edx
add esi, 4
loop 0x411385
pop eax
popal
leave
ret 0x10