joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c00c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], esp
mov eax, dword [0x6eb445]
push eax
push 0x24
call fcn.004fb299
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x47c0c1
push 0
push 0x4010cd5
push 6
call fcn.004fb2a5
add esp, 0xc
mov ebx, dword [ebp - 8]
push ebx
mov edi, dword [ebp - 0xc]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.004fb29f
add esp, 4
mov ebx, dword [0x6eb445]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp word [ebx], 6
je 0x47c17c
mov ebx, dword [0x6eb445]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp word [ebx], 9
je 0x47c17c
mov ebx, dword [0x6eb445]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp word [ebx], 0xa
je 0x47c17c
xor eax, eax
jmp 0x47c181
mov eax, 1
mov dword [0x6eb449], eax
mov eax, dword [0x6eb449]
jmp 0x47c190
mov esp, ebp
pop ebp
ret

Function at 0x47cf17
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x47cf21
add dword [esp], 5
retf

Function at 0x47d6ae
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x47d6b8
add dword [esp], 5
retf
Function at 0x47d743
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x47d7c3
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x47d7c3
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x47d7c3
dec edx
lea edi, [ecx + eax]
inc esp
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x14]
test esi, esi
dec esi
lea edx, [ecx + eax]
je 0x47d7c3
movzx ebx, byte [edx]
inc ebp
xor ebx, ebx
inc ebp
mov ecx, dword [edx]
dec ecx
add ecx, ecx
inc ecx
cmp byte [ecx], bl
jne 0x47d7b4
test bl, bl
je 0x47d7c7
dec eax
mov eax, edx
jmp 0x47d7a0
inc ebp
test al, al
je 0x47d7c7
dec eax
add eax, 1
dec ecx
mov eax, eax
dec ecx
sub eax, edx
inc edi
movzx eax, byte [eax + ecx]
inc esp
cmp al, byte [eax]
je 0x47d79b
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x47d787
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x47d7c1
mov edx, dword [edi + 0x24]
dec esi
lea eax, [ecx + ebx*2]
mov eax, dword [edi + 0x1c]
inc ecx
movzx edx, word [eax + edx]
dec eax
lea edx, [ecx + edx*4]
mov eax, dword [edx + eax]
dec eax
add eax, ecx
pop ebx
pop esi
pop edi
ret

Function at 0x47d834
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x47d86c
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x47d85a
mov al, 1
jmp 0x47d8cb
cmp dword [ebx + 0x54], ecx
jne 0x47d863
mov al, 2
jmp 0x47d8cb
cmp dword [ebx + 0x7c], ecx
jne 0x47d8cb
mov al, 3
jmp 0x47d8cb
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x47d881
mov al, 4
jmp 0x47d8cb
cmp ecx, 5
jne 0x47d8a1
cmp ebx, 0
jne 0x47d88f
mov al, 5
jmp 0x47d8cb
cmp ebx, 1
jne 0x47d898
mov al, 6
jmp 0x47d8cb
cmp ebx, 2
jne 0x47d8a1
mov al, 7
jmp 0x47d8cb
cmp ecx, 6
jne 0x47d8c9
cmp ebx, 0
jne 0x47d8af
mov al, 8
jmp 0x47d8cb
cmp ebx, 1
jne 0x47d8b6
mov al, 9
cmp ebx, 2
jne 0x47d8bd
mov al, 0xa
cmp ebx, 3
jne 0x47d8c4
mov al, 0xb
cmp ebx, 4
jne 0x47d8cb
mov al, 0xc
pop ebx
leave
ret

Function at 0x47d8dc
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x47d908
add dword [esp], 5
retf

Function at 0x47d99b
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x47d9a5
add dword [esp], 5
retf

Function at 0x47df68
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x47df72
add dword [esp], 5
retf

Function at 0x47ebd4
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x47ebde
add dword [esp], 5
retf
Function at 0x47ff84
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x47ffbc
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x47ffaa
mov al, 1
jmp 0x48001b
cmp dword [ebx + 0x54], ecx
jne 0x47ffb3
mov al, 2
jmp 0x48001b
cmp dword [ebx + 0x7c], ecx
jne 0x48001b
mov al, 3
jmp 0x48001b
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x47ffd1
mov al, 4
jmp 0x48001b
cmp ecx, 5
jne 0x47fff1
cmp ebx, 0
jne 0x47ffdf
mov al, 5
jmp 0x48001b
cmp ebx, 1
jne 0x47ffe8
mov al, 6
jmp 0x48001b
cmp ebx, 2
jne 0x47fff1
mov al, 7
jmp 0x48001b
cmp ecx, 6
jne 0x480019
cmp ebx, 0
jne 0x47ffff
mov al, 8
jmp 0x48001b
cmp ebx, 1
jne 0x480006
mov al, 9
cmp ebx, 2
jne 0x48000d
mov al, 0xa
cmp ebx, 3
jne 0x480014
mov al, 0xb
cmp ebx, 4
jne 0x48001b
mov al, 0xc
pop ebx
leave
ret
Function at 0x4895e7
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x489609
mov eax, 0xfffffffd
jmp 0x4896e9
mov ebx, dword [0x6eb49d]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4896b7
mov ebx, dword [0x6eb49d]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x489658
mov ebx, dword [0x6eb49d]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x489658
mov eax, 1
jmp 0x48965d
mov eax, 0
test eax, eax
je 0x489689
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x489672
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x6eb49d]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4896df
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4896e9
mov esp, ebp
pop ebp
ret 4

Function at 0x489866
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x489919
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x489e84
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.004fc080
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x489ec9
push ebx
call fcn.004fb29f
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x57f86f
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0047e177
add esp, 8
cmp eax, 0
jne 0x489f44
call fcn.00489fc8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0x6eb4a5]
test ebx, ebx
je 0x489f07
push ebx
call fcn.004fb29f
add esp, 4
pop eax
mov dword [0x6eb4a5], eax
mov eax, dword [0x6eb4a5]
test eax, eax
je 0x489f2b
push eax
mov ebx, eax
call fcn.0047ad03
inc eax
push eax
call fcn.004fb299
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x489f3e
push ebx
call fcn.004fb29f
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x489f7f
push 0x202
push 0x40203f1
push 6
call fcn.004fb2a5
add esp, 0xc
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x489f92
mov eax, 0x57f86f
push eax
push 1
mov ebx, 0x170
call fcn.004fdb10
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x489fb0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x489fc1
push ebx
call fcn.004fb29f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x489fc8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.004fc080
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48a00d
push ebx
call fcn.004fb29f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.kernel32.dll_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x48a042
push 0x36
push 0x4020407
push 6
call fcn.004fb2a5
add esp, 0xc
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x48a055
mov eax, 0x57f86f
push eax
push 1
mov ebx, 0x170
call fcn.004fdb10
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x48a073
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48a084
push ebx
call fcn.004fb29f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x48a089
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.004fc080
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48a0ce
push ebx
call fcn.004fb29f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x48a103
push 0x36
push 0x40203f2
push 6
call fcn.004fb2a5
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x48a11f
push eax
mov ebx, eax
call fcn.0047ad03
inc eax
push eax
call fcn.004fb299
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x48a124
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48a135
push ebx
call fcn.004fb29f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x48a479
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00489866
test eax, eax
je 0x48a4bc
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x48a4bc
cmp word [eax], 0x5a4d
jne 0x48a4bc
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x48a4bc
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00489938
mov eax, dword [ebp + 8]
jmp 0x48a4d5
mov esp, ebp
pop ebp
ret 4

Function at 0x48da76
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x48daae
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x48da9c
mov al, 1
jmp 0x48db0d
cmp dword [ebx + 0x54], ecx
jne 0x48daa5
mov al, 2
jmp 0x48db0d
cmp dword [ebx + 0x7c], ecx
jne 0x48db0d
mov al, 3
jmp 0x48db0d
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x48dac3
mov al, 4
jmp 0x48db0d
cmp ecx, 5
jne 0x48dae3
cmp ebx, 0
jne 0x48dad1
mov al, 5
jmp 0x48db0d
cmp ebx, 1
jne 0x48dada
mov al, 6
jmp 0x48db0d
cmp ebx, 2
jne 0x48dae3
mov al, 7
jmp 0x48db0d
cmp ecx, 6
jne 0x48db0b
cmp ebx, 0
jne 0x48daf1
mov al, 8
jmp 0x48db0d
cmp ebx, 1
jne 0x48daf8
mov al, 9
cmp ebx, 2
jne 0x48daff
mov al, 0xa
cmp ebx, 3
jne 0x48db06
mov al, 0xb
cmp ebx, 4
jne 0x48db0d
mov al, 0xc
pop ebx
leave
ret

Function at 0x4927cf
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4927fb
add dword [esp], 5
retf
Function at 0x493cfb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.004fc080
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x493d40
push ebx
call fcn.004fb29f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x493d75
push 0x36
push 0x4012a84
push 6
call fcn.004fb2a5
add esp, 0xc
push 0x57fc8d
push dword [ebp - 4]
mov ecx, 2
call fcn.0048575a
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x493d95
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x493da6
push ebx
call fcn.004fb29f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x494367
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x49443c
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x49443c
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x49443c
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x4943c2
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x49443c
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x494407
test dl, dl
je 0x494403
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x494407
add ecx, 2
add eax, 2
test dl, dl
jne 0x4943e7
xor eax, eax
jmp 0x49440c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x49441e
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x494429
inc esi
cmp esi, ebp
jae 0x49443c
mov edx, dword [esp + 0x10]
jmp 0x4943dd
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x4946a0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4946ab
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x4946bf
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x4946c3
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x4946fc
cmp dword [edi + ecx], 0x4550
jne 0x4946fc
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x4946fc
test byte [edi + ecx + 0x16], 2
je 0x4946fc
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x494701
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x49473d
xor eax, eax
jmp 0x494720
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x494746
inc edx
movzx eax, dx
cmp eax, edi
jl 0x494720
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x49474c
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x494784
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x494792
add edx, 0x20
cmp eax, edx
jne 0x4947a3
test bx, bx
je 0x4947d8
add esi, 2
add edi, 2
jmp 0x494774
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x4947b1
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x4947bf
add edx, 0x20
sub ecx, edx
je 0x4947d8
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x49476d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4948ca
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4948ca
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x4948ca
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x494850
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x4948ca
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x494895
test dl, dl
je 0x494891
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x494895
add ecx, 2
add eax, 2
test dl, dl
jne 0x494875
xor eax, eax
jmp 0x49489a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4948ac
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x4948b7
inc esi
cmp esi, ebp
jae 0x4948ca
mov edx, dword [esp + 0x10]
jmp 0x49486b
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x4948e6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
test esi, esi
je 0x494a0e
xor eax, eax
mov word [esp + 0x54], ax
mov byte [esp + 0x38], al
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x65006b
mov dword [esp + 0x44], 0x6e0072
mov dword [esp + 0x48], 0x6c0065
mov dword [esp + 0x4c], 0x320033
mov dword [esp + 0x50], 0x64002e
mov dword [esp + 0x54], 0x6c006c
mov dword [esp + 0x2c], 0x4d746547
mov dword [esp + 0x30], 0x6c75646f
mov dword [esp + 0x34], 0x6e614865
mov dword [esp + 0x38], 0x41656c64
mov dword [esp + 0x14], 0x65657246
mov dword [esp + 0x18], 0x7262694c
mov dword [esp + 0x1c], 0x797261
mov dword [esp + 0x20], 0x74726956
mov dword [esp + 0x24], 0x466c6175
mov dword [esp + 0x28], 0x656572
call fcn.00494b48
add esp, 4
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00494a1a
mov ebp, eax
test ebp, ebp
je 0x494a0e
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00494a1a
mov edi, eax
test edi, edi
je 0x494a0e
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.00494a1a
mov ebx, eax
test ebx, ebx
je 0x494a0e
mov ecx, dword [esi + 0x3c]
mov eax, 0x2000
test word [ecx + esi + 0x16], ax
je 0x4949ea
mov eax, dword [ecx + esi + 0x28]
test eax, eax
je 0x4949ea
push 0
push 0
push esi
add eax, esi
call eax
push edi
push ebp
push esi
call fcn.00494afb
add esp, 0xc
push 0x8000
push 0
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret 4

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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x494aef
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x494aef
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x494aef
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x494a75
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x494aef
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x494aba
test dl, dl
je 0x494ab6
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x494aba
add ecx, 2
add eax, 2
test dl, dl
jne 0x494a9a
xor eax, eax
jmp 0x494abf
sbb eax, eax
or eax, 1
test eax, eax
jne 0x494ad1
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x494adc
inc esi
cmp esi, ebp
jae 0x494aef
mov edx, dword [esp + 0x10]
jmp 0x494a90
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x494b48
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x494b80
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x494b8e
add edx, 0x20
cmp eax, edx
jne 0x494b9f
test bx, bx
je 0x494bd4
add esi, 2
add edi, 2
jmp 0x494b70
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x494bad
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x494bbb
add edx, 0x20
sub ecx, edx
je 0x494bd4
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x494b69
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x49555a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.004fc080
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x49559f
push ebx
call fcn.004fb29f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4955d7
push 0x36
push 0x4010eb0
push 6
call fcn.004fb2a5
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4955f3
push eax
mov ebx, eax
call fcn.0047ad03
inc eax
push eax
call fcn.004fb299
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4955f8
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x495609
push ebx
call fcn.004fb29f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4