joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e7860
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61c782
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebp
mov ebp, dword [esp + 0x1b0]
push esi
push edi
test ebp, ebp
mov esi, ecx
jne 0x4e788e
mov ebp, dword [esi + 8]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4e7a39
mov eax, dword [0x6abf00]
mov dword [esp + 0x10], eax
push 0x400
lea ecx, [esp + 0x28]
mov dword [esp + 0x1b4], 0
call fcn.005e54bc
push 0
push 0x1000
lea ecx, [esp + 0x2c]
push 0
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1c0], 1
call fcn.005e16f4
push eax
mov ecx, esi
mov byte [esp + 0x1b4], 2
call fcn.004e6880
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b0], 1
call fcn.005e17d0
lea ecx, [esp + 0x24]
call fcn.005de86e
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.005e556f
mov esi, eax
push edi
push esi
lea ecx, [esp + 0x14]
call fcn.005d4fd4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b4], 3
call fcn.005dd29d
lea ecx, [esp + 0xc]
mov byte [esp + 0x1b0], 1
call fcn.005dd1b0
push esi
call fcn.0051112b
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b0], 0
call fcn.005e5581
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x4e7a25
mov ecx, 0x6bb390
call fcn.0043f280
lea eax, [esp + 0x90]
push eax
push ebp
call fcn.005dd9bc
test eax, eax
je 0x4e79d3
push ebp
lea ecx, [esp + 0x10]
call fcn.005dd21e
push str..backup
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b4], 4
call fcn.005dd540
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0xc]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x1b0], 0
call fcn.005dd1b0
lea ecx, [esp + 0x14]
call fcn.005de3c2
push 0
push 0x1001
push ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x1bc], 5
call fcn.005de574
test eax, eax
je 0x4e7a14
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.005de6cb
lea ecx, [esp + 0x14]
call fcn.005de78f
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b0], 0
call fcn.005de4b7
lea ecx, [esp + 0x10]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0x1a8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1a8
ret 4
Function at 0x4f1440
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
cmp dword [edi + 4], 0x100
jne 0x4f14fb
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov ebp, dword [edi + 8]
push 0x11
call esi
mov bx, ax
push 0x12
shr ebx, 0xf
and bl, 1
call esi
shr eax, 0xf
and al, 1
test bl, bl
je 0x4f14fb
test al, al
jne 0x4f14fb
cmp ebp, 0x41
jne 0x4f14fb
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x48]
lea esi, [eax + 0x48]
mov ecx, esi
call dword [edx + 4]
mov ecx, eax
call fcn.005dcc64
test al, 4
jne 0x4f14fb
mov eax, dword [esi]
mov ecx, esi
xor edi, edi
call dword [eax + 4]
mov ecx, dword [eax + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0x1004
push ecx
call ebx
test eax, eax
jle 0x4f14ee
mov edx, dword [esi]
push 2
push 2
push edi
mov ecx, esi
call dword [edx + 4]
mov ecx, eax
call fcn.005d6923
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax + 4]
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0x1004
push ecx
call ebx
cmp edi, eax
jl 0x4f14c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
mov ecx, dword [esp + 0x10]
push edi
call fcn.005da5cd
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x4f1b30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61d6e0
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x4c]
xor ebx, ebx
push edi
cmp esi, ebx
mov edi, ecx
jne 0x4f1b5e
mov esi, ebp
mov eax, dword [0x6abf00]
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.005dd13b
lea ecx, [esp + 0x14]
call fcn.005dd13b
lea ecx, [esp + 0x18]
call fcn.005dd13b
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2c], bl
mov dword [esp + 0x30], 1
mov byte [esp + 0x34], bl
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 3
call fcn.005dd2ed
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
call fcn.005dd2ed
push esi
lea ecx, [esp + 0x1c]
call fcn.005dd2ed
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
lea esi, [edi + 0x60]
mov dword [esp + 0x24], ecx
mov cl, byte [esp + 0x5c]
mov edi, dword [esi + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov al, byte [esp + 0x58]
lea edx, [edi + 1]
mov byte [esp + 0x34], cl
push 0xffffffffffffffff
push edx
mov ecx, esi
mov byte [esp + 0x35], bl
mov byte [esp + 0x34], al
mov dword [esp + 0x38], 1
call fcn.004f2e30
mov ecx, dword [esi + 4]
lea eax, [edi + edi*4]
lea edx, [esp + 0x10]
lea esi, [ecx + eax*8]
push edx
mov ecx, esi
call fcn.005dd29d
lea eax, [esp + 0x14]
lea ecx, [esi + 4]
push eax
call fcn.005dd29d
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 8]
call fcn.005dd29d
mov edx, dword [esp + 0x1c]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x18], edx
mov al, byte [esp + 0x2c]
mov byte [esi + 0x1c], al
mov cl, byte [esp + 0x2d]
mov byte [esi + 0x1d], cl
mov edx, dword [esp + 0x30]
mov dword [esi + 0x20], edx
mov al, byte [esp + 0x34]
mov byte [esi + 0x24], al
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 5
call fcn.005dd1b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 4
call fcn.005dd1b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0x20
Function at 0x4f1ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61d708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
mov ebp, ecx
test edi, edi
jne 0x4f1d09
mov edi, esi
mov eax, dword [0x6abf00]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 1
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 2
call fcn.004f5980
push 0
push esi
lea ecx, [esp + 0x14]
call fcn.004f5980
push 0
push edi
lea ecx, [esp + 0x28]
call fcn.004f5980
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.004f1b30
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 1
call fcn.005dd1b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.005dd1b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x4f5090
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x61dac2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
push 0
push 0x3e8
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
mov dword [esp + 0x1c], 0
call fcn.00510160
mov ebp, dword [esp + 0x34]
mov esi, eax
cmp ebp, 0xffffffff
jne 0x4f50d8
mov ebp, 0x64
push fcn.005dd1b0
push fcn.0041a0a0
push 4
lea edx, [esp + 0x1c]
push 4
push edx
call fcn.005110a9
mov eax, esi
xor edx, edx
mov ecx, 0x3c
mov dword [esp + 0x28], 1
div ecx
push edx
lea edx, [esp + 0x14]
push str._02ds
push edx
call fcn.005d59a6
mov eax, 0x88888889
mov ecx, 0x3c
mul esi
mov esi, edx
xor edx, edx
shr esi, 5
mov eax, esi
add esp, 0xc
div ecx
push edx
lea edx, [esp + 0x18]
push str._02dm
push edx
call fcn.005d59a6
mov eax, 0x88888889
mov ecx, 0x18
mul esi
mov esi, edx
xor edx, edx
shr esi, 5
mov eax, esi
add esp, 0xc
div ecx
push edx
lea edx, [esp + 0x1c]
push str._02dh
push edx
call fcn.005d59a6
mov eax, 0xaaaaaaab
add esp, 0xc
mul esi
shr edx, 4
push edx
lea eax, [esp + 0x20]
push 0x6ab774
push eax
call fcn.005d59a6
add esp, 0xc
mov ecx, edi
call fcn.004f5050
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jle 0x4f519f
mov ecx, edi
call fcn.004f5050
jmp 0x4f51a1
mov eax, ecx
mov ecx, eax
sub ecx, ebp
inc ecx
jns 0x4f51aa
xor ecx, ecx
mov edx, dword [0x6abf00]
mov dword [esp + 0x34], edx
cmp eax, ecx
mov byte [esp + 0x28], 2
jl 0x4f51ec
lea esi, [esp + eax*4 + 0x10]
sub eax, ecx
inc eax
mov edi, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f51dc
push 0x20
lea ecx, [esp + 0x38]
call fcn.005dd567
push esi
lea ecx, [esp + 0x38]
call fcn.005dd57c
sub esi, 4
dec edi
jne 0x4f51c6
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.005dcf25
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 1
call fcn.005dd1b0
push fcn.005dd1b0
push 4
lea edx, [esp + 0x18]
push 4
push edx
mov byte [esp + 0x38], 0
call fcn.00510fb5
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x4f5640
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x4f5657
mov eax, dword [eax + 4]
jmp 0x4f5659
xor eax, eax
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi + 4], eax
pop esi
test eax, eax
je 0x4f567f
or eax, 0xffffffff
pop ecx
ret 4
mov eax, dword [esp]
pop ecx
ret 4
Function at 0x4f5690
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov esi, ecx
push ebp
call fcn.004f5640
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x4f56b2
pop edi
pop esi
xor al, al
pop ebp
pop ecx
ret 8
mov ecx, dword [esi]
push ebx
test ecx, ecx
je 0x4f56be
mov ebx, dword [ecx + 4]
jmp 0x4f56c0
xor ebx, ebx
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.005dd594
lea edx, [esp + 0x14]
push eax
push edx
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ebx
mov dword [esi + 4], eax
test eax, eax
push 0xffffffffffffffff
mov ecx, edi
je 0x4f56fb
call fcn.005dd5e3
pop edi
pop esi
xor al, al
pop ebp
pop ecx
ret 8
call fcn.005dd5e3
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x4f5717
cmp eax, 2
je 0x4f5717
pop edi
pop esi
xor al, al
pop ebp
pop ecx
ret 8
pop edi
pop esi
mov al, 1
pop ebp
pop ecx
ret 8

Function at 0x4f64b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61dc87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x6abf00]
push ebp
push esi
push edi
xor edi, edi
mov ebp, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], 1
cmp eax, edi
jle 0x4f658f
push ebx
test edi, edi
je 0x4f6502
push 0x6981e8
lea ecx, [esp + 0x14]
call fcn.005dd540
xor esi, esi
lea ecx, [esp + 0x14]
push edi
push ecx
mov ecx, ebp
call fcn.004f6b00
mov edx, dword [eax]
mov ecx, dword [edx - 8]
cmp esi, ecx
lea ecx, [esp + 0x14]
setl bl
call fcn.005dd1b0
test bl, bl
je 0x4f6582
lea eax, [esp + 0x18]
push edi
push eax
mov ecx, ebp
call fcn.004f6b00
push 0
mov ecx, eax
mov byte [esp + 0x30], 2
call fcn.005dd594
mov bl, byte [eax + esi]
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c], bl
mov byte [esp + 0x2c], 1
call fcn.005dd1b0
test esi, esi
jne 0x4f6561
cmp bl, 0x20
je 0x4f6566
cmp bl, 0x2c
jne 0x4f6571
push 0x5c
lea ecx, [esp + 0x14]
call fcn.005dd567
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.005dd567
inc esi
jmp 0x4f6504
mov eax, dword [ebp + 8]
inc edi
cmp edi, eax
jl 0x4f64f0
pop ebx
mov esi, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.005dcf25
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.005dd1b0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x4f67f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61dd20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.005de3c2
mov eax, dword [esp + 0x2c]
push 0
push 0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.005de574
test eax, eax
jne 0x4f686b
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], al
call fcn.005de4b7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.005dd1b0
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x20
ret 4
lea ecx, [esp + 0xc]
call fcn.005de86e
inc eax
push eax
call fcn.005dd77b
add esp, 4
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.005de86e
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.005de691
lea ecx, [esp + 0xc]
call fcn.005de86e
lea ecx, [esp + 0xc]
mov byte [eax + esi], 0
call fcn.005de78f
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push esi
call fcn.005dd21e
mov ecx, edi
call fcn.004f6690
push esi
call fcn.005dd7a4
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.005de4b7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0x1c]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x61ddbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [0x6abf00]
push esi
mov esi, ecx
mov ecx, 0x633ff8
mov dword [esp + 4], esi
mov dword [esi], eax
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x28], eax
mov byte [esi + 0xc], al
mov byte [esi + 0xd], al
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esp + 0xdc], eax
mov dword [esi + 0x40], eax
cmp dword [0x6ab81c], 0xffffffff
jne 0x4f6c99
lea ecx, [esp + 8]
call fcn.004f6cc0
lea ecx, [esp + 8]
mov dword [0x6ab81c], 3
mov dword [0x6ab820], 2
call fcn.005e750e
mov ecx, dword [esp + 0xd4]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xdc
ret

Function at 0x4fa650
Capabilities:
Resolve dns

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
push edi
mov dword [esi], 0xffffffff
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
je 0x4fa66d
mov dword [esi], eax
jmp 0x4fa696
mov al, byte [esp + 0x14]
test al, al
je 0x4fa67c
pop edi
mov al, 1
pop esi
ret 0xc
push edi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4fa696
cmp word [eax + 0xa], 4
jne 0x4fa696
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esi], edx
mov esi, dword [esi]
cmp esi, 0xffffffff
je 0x4fa6ab
test esi, esi
je 0x4fa6ab
pop edi
mov eax, 1
pop esi
ret 0xc
pop edi
xor eax, eax
pop esi
ret 0xc
Function at 0x4fad00
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61e950
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 4]
xor esi, esi
cmp eax, esi
je 0x4ffc04
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ffc04
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov ecx, dword [ebx + 4]
push 5
mov dword [esp + 0x90], esi
mov dword [esp + 0x10], esi
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, eax
cmp ebp, esi
je 0x4ffc04
push edi
mov al, byte [esp + 0x9c]
test al, al
jne 0x4ffb43
mov eax, ebp
xor edx, edx
shr eax, 4
div dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
cmp eax, esi
je 0x4ffb43
mov eax, dword [eax + edx*4]
cmp eax, esi
je 0x4ffb43
cmp dword [eax + 8], ebp
je 0x4ffc1e
mov eax, dword [eax]
cmp eax, esi
jne 0x4ffb34
push ebp
xor edi, edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ffbd4
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0x2c
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowPlacement]
lea ecx, [esp + 0x78]
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx]
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edx
mov eax, dword [ebx]
lea ecx, [esp + 0x24]
push 1
push ecx
push ebp
mov ecx, ebx
mov byte [esp + 0x9c], 1
call dword [eax + 0xc]
test al, al
mov byte [esp + 0x90], 0
je 0x4ffbd4
inc dword [esp + 0x10]
push 2
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, eax
xor esi, esi
cmp ebp, esi
jne 0x4ffb11
mov eax, dword [esp + 0x10]
pop edi
cmp eax, esi
je 0x4ffc04
mov al, byte [esp + 0x9c]
test al, al
je 0x4ffc04
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
mov ecx, dword [esp + 0x84]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 0xc
cmp eax, esi
je 0x4ffb43
lea esi, [eax + 0xc]
mov ecx, 7
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
jmp 0x4ffbd4
Function at 0x500eb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x61ea38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.005d6d52
mov dword [esp + 0x30], 0
mov dword [esi], method.CImageList.virtual_0
mov dword [esp + 0xc], 0
mov dword [esp + 8], vtable.CBitmap.0
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], 1
and eax, 0xffff
push eax
push 0
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0xc]
call fcn.005e1342
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 1
push 0
push 0x11
mov dword [esi + 0xc], ecx
push ecx
push eax
mov ecx, esi
mov dword [esi + 8], eax
call fcn.005d6e17
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
mov edx, dword [esi + 4]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x3c]
push ecx
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call fcn.005e1399
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x502c50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61eb38
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x28]
push esi
mov esi, ecx
push edi
push ebx
mov eax, dword [esi]
call dword [eax + 0xd8]
mov edi, eax
test edi, edi
jne 0x502c9a
mov eax, dword [esi + 0x160]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov ecx, dword [0x6abf00]
mov dword [esp + 0x30], ecx
mov edx, dword [esi]
push ebx
mov ecx, esi
mov dword [esp + 0x28], 0
call dword [edx + 0xe0]
lea ecx, [esp + 0x30]
push ecx
push edi
push 0
push eax
mov ecx, esi
call fcn.00501890
add esi, 0x17c
lea edi, [esp + 0xc]
push 0xc10
push edi
mov edx, dword [esi]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0xc]
mov esi, dword [ecx]
mov dword [esp + 0x20], edx
mov edx, dword [eax - 8]
push edx
push eax
call dword [esi + 0x68]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
sub esi, eax
mov dword [esp + 0x24], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x508100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61ed28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6abf00]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push 0
push ecx
push edi
push ebx
push ebp
push edx
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.00507c50
mov eax, dword [esp + 0x24]
push edi
push ebx
push ebp
push eax
mov ecx, esi
call fcn.00507e00
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
mov dword [esp + 0xc], 0xffffffff
lea ecx, [esp]
jne 0x50818a
call fcn.005dd1b0
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
call fcn.005dd1b0
mov ecx, dword [esp + 4]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x50c4b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61f0a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.005d9ca3
push eax
lea ecx, [esp + 0x30]
call fcn.005e109a
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.005d9ca3
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.005e0f08
mov eax, dword [esi + 0x100]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x50c5e6
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xfc]
call fcn.005e07f2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x10c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.005e1342
test edi, edi
je 0x50c592
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x100]
push edi
push eax
call fcn.005e0933
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x114], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x100]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0xfc]
sub ecx, edi
test edx, edx
je 0x50c607
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.005e110c
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4