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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6846
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x634384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x10], 0
mov dword [esi], vtable.MappedFile.0
setne al
mov dword [esi + 8], 0
mov byte [esi + 0x17], al
lea eax, [esi + 0x1c]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
mov byte [esi + 0x16], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [ebp + 0x10], eax
mov dword [eax], 0xffffffff
mov dword [ebp - 4], 1
lea eax, [esi + 0x20]
mov dword [ebp + 0x10], eax
mov dword [eax], 0
mov byte [ebp - 4], 3
xor eax, eax
mov edi, dword [ebp + 8]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
test edi, edi
je 0x50ea51
cmp byte [edi], al
je 0x50ea51
mov eax, dword [esi + 8]
test eax, eax
je 0x50ea25
push eax
call fcn.00539650
add esp, 4
push 0
push edi
call fcn.005106b0
mov dword [esi + 8], eax
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x50ea43
push eax
call fcn.00539650
add esp, 4
push dword [esi + 8]
call fcn.00432f60
add esp, 4
mov dword [esi + 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x50ea70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a689e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x634384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 0x1c]
mov dword [esi], vtable.MappedFile.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [ebp - 0x14], eax
mov dword [eax], 0xffffffff
mov dword [ebp - 4], 1
lea eax, [esi + 0x20]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [ebp - 4], 3
xor eax, eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [ebp - 4], 4
push dword [ebp + 8]
mov dword [esi], vtable.MappedFile.0
call fcn.00439540
add esp, 4
test al, al
jne 0x50eb61
mov eax, dword [esi + 8]
test eax, eax
je 0x50eb3a
push eax
call fcn.00539650
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x50eb4a
push eax
call fcn.00539650
add esp, 4
push dword [ebp + 8]
call fcn.00439560
push eax
mov dword [esi + 0xc], eax
call fcn.00432ee0
add esp, 8
mov dword [esi + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x50f690
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x62c1c0
push 0x552340
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x634384]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
cmp byte [edi + 0x14], 0
jne 0x50f70a
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x50f6da
lea ecx, [esi + 1]
jmp 0x50f7ee
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, eax
test ecx, ecx
jne 0x50f7eb
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x50f7ee
lea ecx, [eax + 1]
jmp 0x50f7ee
mov edx, dword [edi + 0x30]
mov ebx, dword [edi + 0x34]
mov eax, dword [edi + 0x28]
sub eax, edx
mov ecx, dword [edi + 0x2c]
sbb ecx, ebx
mov dword [ebp - 0x20], ecx
test ecx, ecx
jg 0x50f731
jl 0x50f727
test eax, eax
jae 0x50f731
xor esi, esi
lea ecx, [esi + 1]
jmp 0x50f7ee
mov esi, dword [ebp + 0xc]
test ecx, ecx
jg 0x50f743
jl 0x50f73e
cmp eax, esi
jae 0x50f743
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
jne 0x50f74f
lea ecx, [esi + 1]
jmp 0x50f7ee
cmp dword [edi + 0x20], 0
je 0x50f781
mov eax, dword [edi + 0x38]
cmp ebx, dword [edi + 0x3c]
jl 0x50f781
jg 0x50f763
cmp edx, eax
jb 0x50f781
mov ebx, dword [edi + 0x40]
xor ecx, ecx
add ebx, eax
adc ecx, dword [edi + 0x3c]
mov edx, esi
xor eax, eax
add edx, dword [edi + 0x30]
adc eax, dword [edi + 0x34]
cmp ecx, eax
jg 0x50f7a1
jl 0x50f781
cmp ebx, edx
jae 0x50f7a1
mov ecx, edi
call fcn.0050fb60
push dword [ebp + 0xc]
push dword [edi + 0x34]
push dword [edi + 0x30]
mov ecx, edi
call fcn.0050f390
mov ecx, eax
test ecx, ecx
je 0x50f7eb
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
push esi
mov eax, dword [edi + 0x20]
sub eax, dword [edi + 0x38]
add eax, dword [edi + 0x30]
push eax
push dword [ebp + 8]
call fcn.005514d0
add esp, 0xc
add dword [edi + 0x30], esi
adc dword [edi + 0x34], 0
mov ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
jmp 0x50f7ee
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x50f7fe
xor eax, eax
test ecx, ecx
cmovne eax, esi
mov dword [edx], eax
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x510550
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6b2f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x634384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x70
call fcn.00539040
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x5105e1
mov dword [esi], vtable.DrKernelState.0
mov byte [ebp - 4], 1
mov ecx, esi
push 0
mov dword [esi], vtable.DrScanState.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
call fcn.00510370
mov byte [ebp - 4], 0
jmp 0x5105e3
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
mov ecx, esi
push edi
call fcn.005100a0
mov dword [esi + 0x64], edi
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x60]
test eax, eax
je 0x51060f
mov dword [eax + 0x64], esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x38], 0xffffffff
mov dword [edi + 0x34], 0
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 0x3c], 0
mov dword [edi + 0x4c], 0xffffffff
mov dword [edi + 0x44], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x60], esi
mov dword [edi + 0x68], 1
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6d16
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x634384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ebp - 4], 1
mov dword [ecx], 1
mov dword [ecx + 4], 1
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5114a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x634384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x5114df
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov word [eax], cx
mov eax, dword [ebp + 0x10]
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov word [eax], cx
mov eax, dword [ebp + 0x18]
mov word [eax], cx
test ebx, ebx
je 0x5115c8
mov byte [ebp + 0xb], cl
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp + 0xb]
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0044a110
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x51152d
mov esi, dword [esi]
mov edi, dword [ebp - 0x28]
push edi
push ebx
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, 1
jne 0x5115ad
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x24]
mov eax, esi
sub eax, edi
sub eax, 0xf
cmp ecx, eax
jae 0x5115ad
lea edx, [edi + ecx]
cmp dword [edx], 0xfeef04bd
jne 0x5115a7
movzx eax, word [edx + 0xa]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
movzx eax, word [edx + 8]
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
movzx eax, word [edx + 0xe]
mov ecx, dword [ebp + 0x14]
mov word [ecx], ax
movzx eax, word [edx + 0xc]
mov ecx, dword [ebp + 0x18]
mov word [ecx], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043e0c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x511547
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043e0c0
jmp 0x5115c8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x511d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6ea6
mov eax, dword fs:[0]
push eax
mov eax, dword [0x634384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
mov eax, dword [edx]
mov dword [ecx], eax
add ecx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x14], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x20], eax
mov eax, dword [edx + 0x2c]
mov dword [ecx + 0x24], eax
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x28], eax
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x30], eax
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0xf
mov byte [edx + 0x24], 0
mov dword [ebp - 4], 0
mov eax, dword [edx + 0x40]
mov dword [ecx + 0x38], eax
mov eax, dword [edx + 0x44]
mov dword [ecx + 0x3c], eax
mov eax, dword [edx + 0x48]
mov dword [ecx + 0x40], eax
mov eax, dword [edx + 0x4c]
mov dword [ecx + 0x44], eax
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x54]
mov dword [ecx + 0x4c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x511e80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6ee6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x634384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x511f11
cmp dword [ecx], edi
jne 0x511f09
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x511f19
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x511f19
cmp dword [ecx], edi
jne 0x511f19
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [ebx + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
add ecx, 8
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
add ecx, 0x1c
call fcn.004100d0
push 0x60
push edi
call fcn.00539070
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5150d0
Capabilities:
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
ret 4

Function at 0x515570
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov ebx, dword [esp + 0x14]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0x18]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
and edx, eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
mov ecx, dword [eax + edx*8]
add edx, edx
mov ebp, dword [eax + edx*4]
lea edx, [eax + edx*4]
cmp ebp, esi
jne 0x5155ce
mov eax, esi
jmp 0x5155d3
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x5155ed
mov eax, dword [ecx + 8]
cmp eax, dword [edi]
je 0x5155e2
mov ecx, dword [ecx]
jmp 0x5155c6
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
mov eax, ebx
pop ebx
ret 8
pop edi
mov dword [ebx], esi
mov eax, ebx
pop esi
pop ebp
pop ebx
ret 8
Function at 0x53c028
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x575e52
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005757c0

Function at 0x575e5d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005759fb
Function at 0x46ca80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46caad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46caad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac
Function at 0x5d955a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5d9599
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5d9599
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5d9599
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5d9599
cmp dword [ecx + 0x74], 0xe
jbe 0x5d9599
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x5e0868
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x5e0905
push ebx
push esi
call fcn.005e0831
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.005e07c5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5e08b2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5e0904
push edi
push eax
call fcn.005df1cb
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x5e08d2
call fcn.005df219
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5e0903
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.005e07c5
add esp, 0x20
test eax, eax
jne 0x5e08f1
push edi
call fcn.005df219
jmp 0x5e08f9
push ebx
call fcn.005df219
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x5e1b14
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x638a10
push 0x638a08
push str.FlsAlloc
push 0x1f
call fcn.005e19d3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5e1b48
push dword [ebp + 8]
mov ecx, esi
call dword [0x5e813c]
call esi
jmp 0x5e1b4e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5e1b92
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x638a20
push 0x638a18
push str.FlsGetValue
push 0x21
call fcn.005e19d3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5e1bc9
push dword [ebp + 8]
mov ecx, esi
call dword [0x5e813c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5e1bd1
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x638a28
push 0x638a20
push str.FlsSetValue
push 0x22
call fcn.005e19d3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5e1c0b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5e813c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x5e6fd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5e6ffd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5e6ffd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406fad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42207c]
jne 0x406fb7
repz ret
jmp fcn.00407e45

Function at 0x40c282
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42207c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040864b
and dword [ebp - 0x14], 0
cmp dword [0x424910], 0
mov dword [ebp - 0x18], eax
jne 0x40c335
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c3dd
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x41a3ac
push ebx
call edi
test eax, eax
je 0x40c3dd
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x424910], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x424914], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x424918], eax
call edi
push eax
call esi
mov dword [0x424920], eax
test eax, eax
je 0x40c335
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42491c], eax
mov eax, dword [0x42491c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x40c38e
cmp dword [0x424920], ecx
je 0x40c38e
push eax
call esi
push dword [0x424920]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c38e
test ebx, ebx
je 0x40c38e
call edi
test eax, eax
je 0x40c385
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c385
test byte [ebp - 8], 1
jne 0x40c38e
or dword [ebp + 0x10], 0x200000
jmp 0x40c3c1
mov eax, dword [0x424914]
cmp eax, dword [ebp - 0x18]
je 0x40c3c1
push eax
call esi
test eax, eax
je 0x40c3c1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c3c1
mov eax, dword [0x424918]
cmp eax, dword [ebp - 0x18]
je 0x40c3c1
push eax
call esi
test eax, eax
je 0x40c3c1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x424910]
call esi
test eax, eax
je 0x40c3dd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c3df
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406fad
leave
ret