joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480075
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x48018d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48018d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004b3a11
mov esi, eax
test esi, esi
je 0x48018d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x48018d
mov ecx, esi
call fcn.00480000
cmp edi, eax
jge 0x48018d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x480113
mov dword [esp + 0x34], 1
jmp 0x48016e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x48018d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0047e850
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x48bdc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x54f854]
xor edx, edx
cmp eax, edx
jne 0x48bde6
xor eax, eax
mov byte [eax + 0x54f754], al
inc eax
cmp eax, 0x100
jl 0x48bdce
mov dword [0x54f854], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x54f754
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x48be77
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x48be4a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x48be18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x48bef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x48bf43
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x48bf2a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4928f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c13fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00493210
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4f92d4
call fcn.004b1d25
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x492983
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b1d25
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x49297c
push 0
mov ecx, eax
call fcn.004899f0
mov dword [esi + 0xc], eax
jmp 0x492985
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x492985
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4b43b5
Capabilities:
Get graphical window text

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

Function at 0x4b5aa7
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 0x4b5ae9
call fcn.004bb55c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b5ae9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b5ae0
xor eax, eax
jmp 0x4b5af1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b5af7
pop edi
pop esi
pop ebx
ret 4
Function at 0x4bba8c
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 0x4bbaba
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4bbad8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004bb9f2
jmp 0x4bbad8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4bbad8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004bb9f2
test edi, edi
mov eax, edi
jne 0x4bbac2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1000cded
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov ecx, 0x811c9dc5
cmp dword [ebp + 8], esi
jbe 0x1000ce12
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp esi, dword [ebp + 8]
jb 0x1000ce00
mov eax, ecx
pop esi
leave
ret 4

Function at 0x10010d7b
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x10058c67
call fcn.10057b49
mov ebx, edx
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edi + 8], esi
je 0x10010d9c
mov esi, 0x80070005
jmp 0x10010ddc
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 0x10]
call fcn.10011112
lea eax, [ebp - 0x10]
mov dword [edi + 0x38], ebx
push eax
push esi
push edi
push 0x100111c0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x10010dd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10010ddc
movzx esi, si
or esi, 0x80070000
jmp 0x10010ddc
mov dword [edi + 8], eax
lea ecx, [ebp + 8]
call fcn.1000dfe4
mov eax, esi
call fcn.10057b05
ret 0x28

Function at 0x10019441
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1006a074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push ecx
push 0x2e
mov ecx, esi
xor edi, edi
call fcn.10019b46
mov ecx, dword [esi + 0x10]
lea edx, [eax + 1]
cmp edx, ecx
je 0x10019510
cmp eax, 0xffffffff
je 0x10019510
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], 7
cmp ecx, edx
jb 0x10019526
sub ecx, edx
cmp ecx, 0xffffffff
jb 0x1001949d
or ecx, 0xffffffff
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100194a7
mov eax, dword [esi]
push ecx
lea eax, [eax + edx*2]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10019fff
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
jb 0x100194c0
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + 0xc]
cmp dword [eax + 0x14], 8
jb 0x100194cb
mov eax, dword [eax]
push 1
push dword [ebp - 0xc]
push ecx
push dword [ebx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
je 0x100194e7
mov edi, 0x80070057
jmp 0x10019504
cmp dword [esi + 0x14], 8
jb 0x100194ef
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100194ff
test al, 0x10
je 0x10019504
mov edi, 0xe1111000
lea ecx, [ebp - 0x1c]
call fcn.10019ecf
mov eax, edi
jmp 0x10019515
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056730
leave
ret 4
call fcn.10019e2e
int3
Function at 0x10023192
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x1005af0e
call fcn.10057b82
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], esi
mov dword [esi + 8], 1
mov dword [esi + 4], 0x1000118c
lock inc dword [0x1006a9fc]
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0xc
mov dword [esi], 0x100019bc
mov dword [esi + 4], 0x100019b0
pop ecx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.1000cf79
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0xc], eax
push 0xc
mov byte [ebp - 4], 1
lea edi, [esi + 0x14]
pop ecx
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.1000cf79
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
mov dword [ebp - 0x220], ebx
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.10026733
test eax, eax
jne 0x1002323e
push dword [ebp - 0x220]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1002323e
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.10023579
push 0x105
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1002327e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.1000d18c
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.10023579
push dword [ebp - 0x224]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x220]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
call fcn.10057b1f
ret

Function at 0x100237c3
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x20219
push ebx
push 0x10005b28
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
mov dword [ebp - 4], ebx
mov esi, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10023825
mov esi, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10023825
cmp dword [ebp - 0xc], 4
jne 0x10023825
cmp dword [ebp - 0x10], ebx
je 0x10023825
mov bl, 1
test esi, esi
je 0x10023830
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x10023c7b
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push 0x20
mov eax, 0x1005affe
call fcn.10057bbe
mov ebx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx]
mov esi, esp
mov edi, dword [eax + 0xc]
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, edi
call dword [0x1006b410]
call edi
cmp esi, esp
je 0x10023cad
mov ecx, 4
int 0x29
test eax, eax
js 0x10023d3c
mov esi, dword [ebp - 0x1c]
mov edx, 0x811c9dc5
mov dword [ebp - 0x14], esi
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0x14]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x10023cc2
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000c7cf
mov eax, dword [eax + 4]
test eax, eax
je 0x10023cf1
cmp eax, dword [ebx + 4]
jne 0x10023d25
lea ecx, [ebx + 0x20]
call fcn.100259c7
mov ecx, dword [ebp - 0x20]
mov edi, eax
mov edx, edi
call fcn.1002395c
test eax, eax
js 0x10023d3c
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], esi
push eax
mov ecx, ebx
mov dword [ebp - 0x20], edi
call fcn.1002614d
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
xor eax, eax
jmp 0x10023d3c
call fcn.10057b05
ret 4
Function at 0x10024320
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push 0x64
mov eax, 0x1005b0b6
call fcn.10057bfa
mov dword [ebp - 0x44], edx
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [edx + 0x64]
mov dword [ebp - 0x54], eax
call fcn.10025985
xor edx, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], edx
mov esi, esp
mov dword [ebp - 4], edx
mov ecx, dword [ebx]
lea eax, [ebp - 0x50]
push edx
push edx
push edx
mov edi, dword [ecx + 0x30]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
push edx
lea eax, [ebp - 0x4c]
push eax
push 1
push ebx
call dword [0x1006b410]
call edi
cmp esi, esp
je 0x10024379
mov ecx, 4
int 0x29
mov esi, eax
test esi, esi
js 0x100244fc
cmp dword [ebp - 0x4c], 1
jne 0x100244f1
mov eax, dword [ebp - 0x30]
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov esi, esp
push ebx
mov ecx, dword [eax]
mov edi, dword [ecx + 0xc]
lea ecx, [ebp - 0x34]
push ecx
push ebx
push eax
mov ecx, edi
call dword [0x1006b410]
call edi
cmp esi, esp
je 0x100243b8
mov ecx, 4
int 0x29
mov esi, eax
test esi, esi
js 0x100244fc
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.10026572
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], ebx
jbe 0x10024415
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edi, dword [ecx + 0xc]
lea ecx, [ebp - 0x2c]
jb 0x100243eb
mov ecx, dword [ebp - 0x2c]
mov esi, esp
push ecx
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x1c]
mov ecx, edi
push eax
call dword [0x1006b410]
call edi
cmp esi, esp
je 0x1002440b
mov ecx, 4
int 0x29
mov esi, eax
test esi, esi
js 0x100244e7
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
jb 0x10024421
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
add eax, eax
push eax
call fcn.1000cded
mov dword [ebp - 0x38], eax
mov esi, 0x811c9dc5
mov edx, ebx
movzx ecx, byte [ebp + edx - 0x38]
xor ecx, esi
imul esi, ecx, 0x1000193
inc edx
cmp edx, 4
jb 0x10024436
mov ebx, dword [ebp - 0x44]
lea eax, [ebp - 0x38]
push esi
push eax
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.1000c7cf
mov eax, dword [eax + 4]
test eax, eax
je 0x10024468
cmp eax, dword [ebx + 4]
jne 0x100244a3
lea ecx, [ebx + 0x20]
call fcn.100259c7
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov edi, eax
push edi
call fcn.10023a8d
mov esi, eax
test esi, esi
js 0x100244e7
mov byte [ebp - 4], 2
mov ecx, ebx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x44], edi
push eax
call fcn.1002614d
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 4], 1
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x50]
and dword [ebp - 0x68], 0
and dword [ebp - 0x60], 0
and dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x64], ecx
lea ecx, [esi + 4]
push eax
push ecx
call fcn.10025d31
lea ecx, [ebp - 0x2c]
call fcn.10019ecf
jmp 0x100244f4
lea ecx, [ebp - 0x2c]
call fcn.10019ecf
jmp 0x100244fc
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x54]
mov dword [eax + 0x10], esi
xor esi, esi
lea ecx, [ebp - 0x30]
call fcn.1000b6bc
mov eax, esi
call fcn.10057b34
ret 4
Function at 0x1002d47f
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x1002d4dd
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 8]
sub edx, dword [esi + 0x28]
mov eax, dword [ebp - 4]
sbb eax, dword [esi + 0x2c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
fild qword [ebp - 0x10]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fild qword [esi + 0x20]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fdiv qword [0x10009218]
fdivp st(1)
fcomp qword [0x10009210]
fnstsw ax
test ah, 0x41
jne 0x1002d4dd
push 0x10006728
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esi + 4]
call fcn.10019ecf
pop esi
leave
ret

Function at 0x10030735
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.1003068f
test eax, eax
js 0x10030789
cmp dword [ebp + 8], 0
je 0x10030766
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1003075f
test al, 0x10
je 0x10030766
mov eax, 0x80070003
jmp 0x10030789
mov ecx, dword [esi + 0xc]
mov esi, esp
push dword [ebp + 8]
push ecx
mov eax, dword [ecx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x1006b410]
call edi
cmp esi, esp
je 0x10030789
mov ecx, 4
int 0x29
pop edi
pop esi
pop ebp
ret 4
Function at 0x10031895
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push 0x3c
mov eax, 0x1005c4f5
call fcn.10057bbe
mov ebx, edx
mov eax, ecx
mov dword [ebp - 0x20], eax
mov esi, dword [eax]
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
mov edx, esi
call fcn.1000cded
mov dword [ebp - 0x18], eax
lea edi, [ebx + 0xbc]
mov esi, 0x811c9dc5
xor edx, edx
movzx ecx, byte [ebp + edx - 0x18]
xor ecx, esi
imul esi, ecx, 0x1000193
inc edx
cmp edx, 4
jb 0x100318c9
push esi
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000c7cf
mov esi, dword [eax + 4]
test esi, esi
jne 0x100318f6
mov esi, dword [edi + 4]
cmp esi, dword [ebx + 0xc0]
jne 0x10031962
xor ebx, ebx
mov ecx, 0x100014f0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.10013209
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.1003697a
push dword [ebp - 0x40]
mov esi, dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x10]
call fcn.10017fae
mov ecx, dword [ebp + 8]
lea ebx, [esi + 0xc]
mov esi, esp
mov eax, dword [ecx]
mov edi, dword [eax + 0x14]
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
push ecx
mov ecx, edi
call dword [0x1006b410]
call edi
cmp esi, esp
je 0x1003198c
mov ecx, 4
int 0x29
test eax, eax
js 0x1003199d
mov eax, dword [ebp - 0x24]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
xor eax, eax
call fcn.10057b05
ret 8
Function at 0x10036521
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov byte [0xa345c635], al
and al, 0xc6
inc ebp
movsb byte es:[edi], byte [esi]
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.1003613d
push eax
push esi
push dword [ebp + 8]
call fcn.100360f2
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1003613d
push eax
push esi
push dword [ebp + 8]
call fcn.100360f2
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1003612d
dec esi
int 0xbd
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.1003612d
mov cl, byte [ebp - 0x7a725f67]
jl 0x10036618
invalid
invalid
Function at 0x1003677e
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x100367e1
add eax, esi
cmp dword [eax], ebx
je 0x100367e1
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x100367dc
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x100367c6
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x100367ce
cmp edx, ebx
jne 0x1003691c
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1003679d
add eax, dword [eax + 4]
jmp 0x1003678a
mov dword [ebp + 0xc], ebx
jmp 0x100367ec
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10036804
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10036822
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10036880
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10036867
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10036870
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1003687a
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1003685c
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x100367e6
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100368cd
dec eax
je 0x100368c4
sub eax, 3
je 0x100368bb
mov dword [ebp - 4], 0x40
jmp 0x100368ea
mov dword [ebp - 4], 4
jmp 0x100368d0
mov dword [ebp - 4], 0x20
jmp 0x100368d0
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1003691c
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1003689c
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1003612d
add byte [ecx - 0x6c], bh
add eax, 0x6a1475ff
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x10036928
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret