joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ca310
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x53e2e7
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.00526c66
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.00526c66
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.004cae30
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 0x4cae80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x53e3c0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00533a51
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4caeb3
xor al, al
jmp 0x4cafdf
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 0x4caed5
xor al, al
jmp 0x4cafdf
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4caee8
xor al, al
jmp 0x4cafdf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4caefc
xor al, al
jmp 0x4cafdf
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.00526d2b
test eax, eax
jne 0x4caf30
xor al, al
jmp 0x4cafdf
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], 0x7464f4
mov dword [esp + 0x20], ebp
call fcn.00533a51
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.0052fe9c
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.0052fef3
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4cafc4
mov ax, word [ebx]
test ax, ax
je 0x4cafb6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004cb000
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4caf9a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.0052fef3
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 0x4cb540
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.005315a1
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4cb586
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.00516188
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 0x772294
push ecx
call fcn.00517cb1
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 0x4d02ad
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x53ea38
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x4d02c3
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.004d5660
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.004d5a10
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.004d0330
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x746cf8
call fcn.004d5860
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4d51b0
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 0x4d51fc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4d51fc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4d51e6
push eax
call ebp
test ax, ax
jl 0x4d51f4
inc esi
add edi, 4
cmp esi, 6
jb 0x4d51d8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004d4eb0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4d8ec0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4d8f20
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4d8f20
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4d8f20
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4d8f20
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 0x4d8f30
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 0x4ddfb0
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 0x4de105
cmp di, 0x801
ja 0x4de105
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x4de105
cmp bx, 0xc
ja 0x4de105
mov al, byte [esp + 0x30]
test al, al
je 0x4de004
push edi
call fcn.004de540
add esp, 4
cmp ax, bx
je 0x4de004
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.004de110
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.004ddf30
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x4de105
test ebx, ebx
jne 0x4de099
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x4de0fb
test al, al
je 0x4de08c
push 0xffffffffffffffe1
jmp 0x4de08e
push 0x1f
push ebp
push edi
push esi
call fcn.004ddee0
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.004ddee0
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.004de110
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.004ddf30
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x4de066
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 0x4df810
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x53f3d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x7c36b4
lea ecx, [esp + 4]
call fcn.00528e9e
push 0x77fa84
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.00528e9e
push 0x77fa80
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.00528e9e
push 0x77fa7c
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.00528e9e
push 0x77fa78
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.00528e9e
push 0x77fa74
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.00528e9e
push 0x77fa70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.00528e9e
push 0x77fa6c
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.00528e9e
push 0x77fa68
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.00528e9e
push 0x77fa64
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.00528e9e
push 0x77fa60
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.00528e9e
push 0x77fa5c
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.00528e9e
push 0x77fa58
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.00528e9e
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x4df940
cmp eax, 0xc
jle 0x4df940
mov ecx, dword [esp + 0x48]
push 0x7c36b4
call fcn.00528fb9
jmp 0x4df94e
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.00528f69
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.00528e30
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.00528e30
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.00528e30
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.00528e30
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.00528e30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.00528e30
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.00528e30
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.00528e30
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.00528e30
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.00528e30
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.00528e30
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.00528e30
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00528e30
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x4e0740
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x53f603
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.00528e30
lea edi, [esi + 0xbc]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x4dc]
mov byte [esp + 0x18], 8
call fcn.00531c33
lea ecx, [edi + 0x4a0]
mov byte [esp + 0x18], 7
call fcn.00531c33
lea ecx, [edi + 0x488]
mov byte [esp + 0x18], 6
call fcn.00528e30
lea ecx, [edi + 0x484]
mov byte [esp + 0x18], 5
call fcn.00528e30
lea ecx, [edi + 0x5c]
mov byte [esp + 0x18], 4
call fcn.004dcf10
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.00529c4a
lea ecx, [esi + 0x80]
mov byte [esp + 0x18], 1
call fcn.00531a6f
lea edi, [esi + 0x48]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0xd
call fcn.00528e30
lea ecx, [edi + 0x28]
mov byte [esp + 0x18], 0xc
call fcn.00528e30
lea ecx, [edi + 0x24]
mov byte [esp + 0x18], 0xb
call fcn.00528e30
lea ecx, [edi + 0x20]
mov byte [esp + 0x18], 0xa
call fcn.00528e30
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 9
call fcn.00528e30
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
call fcn.00528e30
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0052b046
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x53f775
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.00531c33
lea ecx, [esi + 0x4a0]
mov byte [esp + 0x18], 6
call fcn.00531c33
lea ecx, [esi + 0x488]
mov byte [esp + 0x18], 5
call fcn.00528e30
lea ecx, [esi + 0x484]
mov byte [esp + 0x18], 4
call fcn.00528e30
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 3
call fcn.004dcf10
mov ecx, esi
mov byte [esp + 0x18], 2
call fcn.00529c4a
lea ecx, [edi + 0x80]
mov byte [esp + 0x18], 1
call fcn.00528e30
lea esi, [edi + 0x48]
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0xc
call fcn.00528e30
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 0xb
call fcn.00528e30
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 0xa
call fcn.00528e30
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 9
call fcn.00528e30
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 8
call fcn.00528e30
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 0
call fcn.00528e30
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call fcn.0052b046
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4e5db0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x748920
push 0x518244
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.00516280
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e5f60
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x4e5fa1
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x4e600e
cmp dword [esp + 0x1c], 2
jne 0x4e600e
cmp dword [esp + 0x10], 5
jne 0x4e600e
cmp dword [esp + 0x14], 1
jne 0x4e600e
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4e5ff8
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4e5fe9
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x4e5ff1
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x4e600e
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret

Function at 0x4f9960
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push esi
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp esi, edi
je 0x4f99a8
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 8]
push ecx
push 0x4f9900
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x4f99cc
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call edi
push 1
mov esi, eax
call edi
push eax
push esi
add eax, 0xffffffec
add esi, 0xffffffd8
push eax
lea edx, [esp + 0x14]
push esi
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 8]
mov ecx, eax
pop edi
pop esi
mov dword [ecx], edx
mov edx, dword [esp + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 8]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0xc]
mov dword [ecx + 0xc], edx
add esp, 0x10
ret 4
Function at 0x500fe0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x541a53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0052f2a5
xor eax, eax
mov dword [esi + 0x10], 0x74942c
mov dword [esp + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, 1
mov dword [esi], method.CDC.virtual_0
mov byte [esp + 0x10], cl
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [ecx], eax
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
push edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.005010e0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x501070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x541a7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], method.CDC.virtual_0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 1
push eax
call fcn.00501d20
lea ecx, [esi + 0x10]
mov dword [esp + 8], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x14], 2
call fcn.0052fef3
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0052f3da
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x50a0f0
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 + 0x78c164]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x50a103
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x50a144
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 + 0x78c20c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x50a176
mov bl, byte [esp + ecx + 0x4c]
jmp 0x50a17a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x50a16b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x50a198
mov bl, byte [esp + ecx + 0x4c]
jmp 0x50a19c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x50a18d
xor ecx, ecx
mov eax, 0x78c174
xor ebx, ebx
mov bl, byte [ecx + 0x78c21c]
cmp byte [esp + ebx + 0x14], 0
je 0x50a1c7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x78c234]
cmp byte [esp + ebx + 0x14], 0
je 0x50a1de
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 0x50a1ae
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x50a137
lea edx, [esp + 0x84]
push edx
call fcn.0050a220
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x529c88
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 0x529caa
cmp dword [edi + 0x3c], 0
jne 0x529caa
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00533a51
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.00529cd7
pop edi
pop esi
pop ebx
ret 8

Function at 0x52b382
Capabilities:
Get graphical window text

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

Function at 0x52cb85
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 0x52cbc7
call fcn.00533a51
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x52cbc7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x52cbbe
xor eax, eax
jmp 0x52cbcf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0052cbd5
pop edi
pop esi
pop ebx
ret 4

Function at 0x52e6eb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x542888
call fcn.00519118
push ecx
push ecx
push esi
push 0x14
call fcn.00528b71
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x52e73e
mov ecx, esi
call fcn.005293cd
mov eax, dword [0x78de60]
lea ecx, [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CFileException.0
mov dword [esi + 0xc], eax
call fcn.00528fb9
jmp 0x52e740
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x762ad0
push eax
mov dword [ebp - 0x10], esi
call fcn.005183e2
pop esi

Function at 0x533f81
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 0x533faf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x533fcd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00533ee7
jmp 0x533fcd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x533fcd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00533ee7
test edi, edi
mov eax, edi
jne 0x533fb7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8