joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402187
Capabilities:
Get geographical location
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp dword [0x419090], ebx
je 0x4021ba
mov eax, 0x419090
mov ecx, dword [ebp + 8]
cmp dword [eax], ecx
je 0x4021ba
inc esi
mov eax, esi
shl eax, 4
lea eax, [eax + 0x419090]
cmp dword [eax], ebx
jne 0x4021a3
shl esi, 4
cmp dword [esi + 0x419090], ebx
jne 0x4021cf
mov eax, 0x4154c8
jmp 0x402341
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x68]
push str.7zSfxString_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x68]
push eax
call ebx
mov dword [ebp - 4], eax
call edi
test eax, eax
jne 0x40227f
mov eax, dword [ebp - 4]
xor ecx, ecx
push 2
add eax, 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, dword [ebp - 4]
inc ecx
push ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x68]
push eax
call ebx
cmp eax, dword [ebp - 4]
ja 0x402276
call edi
test eax, eax
jne 0x402276
mov eax, dword [esi + 0x41909c]
test eax, eax
je 0x40226b
mov edi, dword [ebp - 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x402268
push dword [esi + 0x41909c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov dword [esi + 0x41909c], edi
jmp 0x40227e
push edi
jmp 0x402279
mov eax, dword [ebp - 8]
mov dword [esi + 0x41909c], eax
jmp 0x40227f
push dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x41909c]
test eax, eax
jne 0x402340
mov ebx, dword [esi + 0x419094]
lea edi, [esi + 0x419098]
cmp dword [edi], eax
je 0x4022b5
call fcn.00402131
cmp eax, dword [0x4162ec]
jne 0x4022b5
mov ebx, dword [edi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp dword [0x419064], 0xffffffff
pop ecx
mov dword [esi + 0x41909c], eax
jne 0x402320
and dword [0x419064], 0
push 0x1f
lea eax, [ebp - 0xa8]
push eax
movzx eax, word [0x4197b0]
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x402320
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x419064], eax
lea eax, [edi + 1]
push eax
push dword [esi + 0x41909c]
push edi
push ebx
push 0
push dword [0x419064]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esi + 0x41909c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40cbc7
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a2f8
call fcn.00413724
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b69c
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b754
push 4
mov ebx, 0x41b68c
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00403291
mov dword [esi + 0x3c], 0x41b804
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00403291
mov dword [edi], 0x41b80c
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c1be
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c1be
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c1be
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c1be
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c1be
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x412ff0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.0041468e
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413018
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x413027
mov eax, 1
ret 4

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0xc3fe0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x151008], 0x8088405
inc edx
mov dword [ebx + 0x151008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0xca4ec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0xca53e
test eax, edx
je 0xca541
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0xca501
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0xca527
add ecx, 4
js 0xca517
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0xca524
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0xca54d
test edx, edx
jne 0xca4f4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0xe45a8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0xe45ae
ret
Function at 0x12647c
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x126491
or edx, 0x200
test eax, 0x20000000
je 0x1264c4
test eax, 0x40000000
je 0x1264b0
test eax, 0x80000000
je 0x1264ab
or edx, 0x40
jmp 0x1264eb
or edx, 0x20
jmp 0x1264eb
test eax, 0x80000000
je 0x1264bf
or edx, 0x80
jmp 0x1264eb
or edx, 0x10
jmp 0x1264eb
test eax, 0x40000000
je 0x1264dc
test eax, 0x80000000
je 0x1264d7
or edx, 4
jmp 0x1264eb
or edx, 2
jmp 0x1264eb
test eax, 0x80000000
je 0x1264e8
or edx, 8
jmp 0x1264eb
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x40142f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esp
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ax, word [esp + 2]
mov dword [0x4045e0], eax
xor eax, eax
mov edi, eax
mov dword [ebp - 0x4c], 0x30
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], 3
mov dword [0x4045d0], eax
mov eax, edi
mov dword [ebp - 0x44], 0x401341
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Hall
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x40150c
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0
push str.moossi
push str.Hall
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4045d8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4045d8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x40150c
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x4014f1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401fdf
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x402008
mov al, byte [esi + 1]
inc esi
test al, al
je 0x402000
cmp al, 0x22
jne 0x401ff4
cmp byte [esi], 0x22
jne 0x402012
inc esi
jmp 0x402012
cmp al, 0x20
jle 0x402012
inc esi
cmp byte [esi], 0x20
jg 0x40200c
mov al, byte [esi]
test al, al
je 0x40201c
cmp al, 0x20
jle 0x402005
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0040208c
push 0x404004
push section..data
call fcn.00402072
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40204c
movzx eax, word [ebp - 0x14]
jmp 0x40204f
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004020a4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x411710
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x49f988], eax
mov edx, 1
mov eax, 0x49f988
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a0344
jl 0x411724
mov dword [0x49d318], 1
mov dword [0x4a2504], 1
pop edi
ret

Function at 0x411760
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a2504], 0
push esi
mov esi, 0x49f988
jne 0x41177e
call dword [0x48d2e4]
push eax
call fcn.00411710
add esp, 4
mov dword [0x49d318], 0x270
mov dword [0x49f984], esi
mov ecx, 0xe3
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi + 0x634]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x411793
mov ecx, 0x18c
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi - 0x38c]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x4117c8
mov ecx, dword [esi]
mov eax, dword [0x49f988]
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, dword [esi]
and al, 1
movzx edx, al
shr ecx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
ret

Function at 0x411830
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x49d318]
jne 0x41183d
call fcn.00411760
mov eax, dword [0x49f984]
mov ecx, dword [eax]
add eax, 4
mov dword [0x49f984], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x4118d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x49d318]
jne 0x4118de
call fcn.00411760
mov ecx, dword [0x49f984]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x49f984], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
pop es
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
jns 0x411925
fadd qword [0x497ba0]
fmul qword [0x497bf8]
pop ecx
ret
Function at 0x45dbf2
Capabilities:
Encode data using xor

Disassembly:
push edi
push dword [esp + 0x10]
call 0x3f9710
xor edi, edi
pop ecx
cmp dword [esp + 0xc], edi
jbe 0x45dc1c
push esi
mov eax, dword [esp + 0xc]
lea esi, [edi + eax]
call 0x3f9880
xor byte [esi], al
inc edi
cmp edi, dword [esp + 0x10]
jb 0x45dc06
pop esi
pop edi
ret 0xc

Function at 0x45df02
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
push 1
pop ebx
mov esi, ecx
mov byte [ebp - 1], bl
push dword [esi]
lea eax, [ebp - 0x14]
push 4
push ebx
push eax
call fcn.00463221
add esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, esi
push 0x16fa
push 4
push eax
call fcn.0045dbf2
and byte [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push 0x49c018
push eax
call fcn.004633e0
pop ecx
test eax, eax
pop ecx
jne 0x45e033
push dword [esi]
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.00463221
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0x29bc
lea eax, [ebp - 0x11c]
push edi
push ebx
push eax
call fcn.00463221
add esp, 0x20
lea eax, [edi + 0xa25e]
mov ecx, esi
push eax
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.0045dbf2
push dword [esi]
and byte [ebp + edi - 0x11c], 0
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.00463221
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0x29ac
push edi
push ebx
push dword [ebp + 0xc]
call fcn.00463221
add esp, 0x20
lea eax, [edi + 0xf25e]
mov ecx, esi
push eax
push edi
push dword [ebp + 0xc]
call fcn.0045dbf2
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
and byte [edi + eax], 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004633e0
pop ecx
test eax, eax
pop ecx
je 0x45e04a
push ebx
push ebx
push dword [esi]
call fcn.004632c8
push dword [esi]
lea eax, [ebp - 8]
push ebx
push 4
push eax
call fcn.00463221
xor dword [ebp - 8], 0x45aa
push ebx
push 4
push dword [esi]
call fcn.004632c8
push ebx
push 0x10
push dword [esi]
call fcn.004632c8
push ebx
push dword [ebp - 8]
push dword [esi]
call fcn.004632c8
add esp, 0x40
jmp 0x45e037
and byte [ebp - 1], 0
cmp byte [ebp - 1], bl
je 0x45df16
push 6
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
xor eax, eax
jmp 0x45e043

Function at 0x45e08e
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, ecx
push esi
push edi
mov edi, eax
or dword [eax + 0x400], 0xffffffff
xor esi, esi
mov edx, esi
push 8
shl edx, 0x18
pop ecx
test edx, 0x80000000
je 0x45e0b7
add edx, edx
xor edx, 0x4c11db7
jmp 0x45e0b9
shl edx, 1
dec ecx
jne 0x45e0a5
mov dword [edi], edx
inc esi
add edi, 4
cmp esi, 0x100
jl 0x45e09d
pop edi
pop esi
ret
Function at 0x45e241
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0x45e266
mov eax, dword [esi + 0xc]
push 8
add eax, dword [esi + 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00463470
add esp, 0xc
jmp 0x45e279
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.00463221
add esp, 0x10
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 3]
shl eax, 8
or eax, ecx
add dword [esi + 0xc], 8
movzx ecx, byte [ebp - 2]
shl eax, 8
or eax, ecx
and byte [ebp - 4], 0
movzx ecx, byte [ebp - 1]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 8]
push 0x49c020
mov dword [ecx], eax
lea eax, [ebp - 8]
push eax
call fcn.004633e0
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
pop esi
leave
ret 4
Function at 0x5633c8
Capabilities:
Terminate process

Disassembly:
sub esp, 0x2c
cmp dword [0x10045efc], 0
push ebx
push ebp
push esi
push edi
mov eax, 1
jne 0x56346f
cmp dword [0x10045f00], 0
mov dword [0x10045efc], eax
jne 0x5633f4
mov dword [0x10045f00], eax
cmp dword [0x10045f04], 0
jne 0x563407
call fcn.00567696
mov dword [0x10045f04], eax
cmp dword [0x10045f08], 0
jne 0x56341d
call fcn.00567696
add eax, 0x20
mov dword [0x10045f08], eax
mov ebx, dword [0x10045ef4]
test ebx, ebx
je 0x563435
mov eax, dword [0x10045eec]
cmp dword [ebx + eax*4], 0
lea esi, [ebx + eax*4]
jne 0x563456
call fcn.00564938
mov ecx, dword [0x10045ef4]
mov edx, dword [0x10045eec]
lea esi, [ecx + edx*4]
call fcn.005647e8
mov ebx, dword [0x10045ef4]
mov dword [esi], eax
mov esi, dword [esi]
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov dword [0x10045f04], edx
mov dl, byte [ecx]
mov dword [0x10045e5c], eax
jmp 0x563488
mov dl, byte [0x1003f991]
mov ecx, dword [0x10045ef8]
mov ebx, dword [0x10045ef4]
lea esp, [esp]
mov esi, dword [0x10045f00]
mov edi, ecx
mov byte [ecx], dl
mov dword [esp + 0x14], ecx
mov edi, edi
movzx eax, byte [edi]
mov dl, byte [eax*4 + 0x1002b330]
lea eax, [esi + esi]
cmp word [eax + 0x1002a7f8], 0
je 0x5634bb
mov dword [0x10045e68], esi
mov dword [0x10045e58], edi
movsx ebp, word [eax + 0x1002b808]
movzx ecx, dl
add ebp, ecx
movsx ebp, word [ebp*2 + 0x10030fe8]
cmp ebp, esi
je 0x563509
jmp 0x5634d8
movsx esi, word [eax + 0x1002c6d8]
cmp esi, 0x59a
jl 0x5634ee
mov dl, byte [ecx*4 + 0x1002b730]
lea eax, [esi + esi]
movsx ebp, word [eax + 0x1002b808]
movzx ecx, dl
add ebp, ecx
movsx ebp, word [ebp*2 + 0x10030fe8]
cmp ebp, esi
jne 0x5634d8
movsx ecx, word [esi*2 + 0x1002b808]
movzx edx, dl
add ecx, edx
movsx esi, word [ecx*2 + 0x1002d5a8]
add edi, 1
cmp word [esi*2 + 0x1002b808], 0x1ce9
jne 0x563498
lea esp, [esp]
mov ecx, dword [0x10045e68]
mov edx, dword [0x10045e58]
lea esp, [esp]
movsx eax, word [esi*2 + 0x1002a7f8]
test eax, eax
jne 0x56355e
movsx eax, word [ecx*2 + 0x1002a7f8]
mov edi, edx
mov ebp, dword [esp + 0x14]
mov dl, byte [edi]
mov ecx, edi
sub ecx, ebp
mov dword [0x100470a8], ecx
mov dword [0x100470a4], ebp
mov byte [0x1003f991], dl
mov byte [edi], 0
mov ecx, edi
cmp eax, 0x92
mov dword [0x10045ef8], ecx
ja 0x563fd1
jmp dword [eax*4 + 0x10019034]
mov eax, 0x1003a5b0
jmp 0x564a98
push eax
push 0x1003a77c
call fcn.00567696
add eax, 0x40
push eax
call fcn.0056796d
add esp, 0xc
push 2
call fcn.005691dc
int3

Function at 0x5647e8
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, dword [0x10045f04]
push 0x30
call fcn.00566334
mov esi, eax
add esp, 4
test esi, esi
jne 0x56480a
mov eax, 0x1003a698
jmp 0x564a98
push 0x4002
mov dword [esi + 0xc], 0x4000
call fcn.00566334
add esp, 4
test eax, eax
mov dword [esi + 4], eax
jne 0x56482f
mov eax, 0x1003a698
jmp 0x564a98
mov dword [esi + 0x14], 1
call fcn.00564848
pop edi
mov eax, esi
pop esi
ret
Function at 0x564938
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10045ef4]
test eax, eax
jne 0x564979
push 4
call fcn.00566334
add esp, 4
test eax, eax
mov dword [0x10045ef4], eax
jne 0x56495e
mov eax, 0x1003a6c8
jmp 0x564a98
mov dword [eax], 0
mov dword [0x10045ef0], 1
mov dword [0x10045eec], 0
ret
push esi
mov esi, dword [0x10045ef0]
lea ecx, [esi - 1]
cmp dword [0x10045eec], ecx
jb 0x5649db
push edi
lea edi, [esi + 8]
lea edx, [edi*4]
push edx
push eax
call fcn.00568c07
add esp, 8
test eax, eax
mov dword [0x10045ef4], eax
jne 0x5649b3
mov eax, 0x1003a6c8
jmp 0x564a98
xor ecx, ecx
mov dword [eax + esi*4], ecx
mov dword [eax + esi*4 + 4], ecx
mov dword [eax + esi*4 + 8], ecx
mov dword [eax + esi*4 + 0xc], ecx
mov dword [eax + esi*4 + 0x10], ecx
mov dword [eax + esi*4 + 0x14], ecx
mov dword [eax + esi*4 + 0x18], ecx
mov dword [0x10045ef0], edi
mov dword [eax + esi*4 + 0x1c], ecx
pop edi
pop esi
ret
Function at 0x568950
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x56898d
cmp dword [ebp + 0x14], edi
je 0x56898d
cmp ecx, edi
jne 0x568994
call fcn.00566432
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0056a2c2
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x5689a8
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x5689c9
cmp ebx, 0xffffffff
je 0x5689b8
push ebx
push edi
push ecx
call fcn.0056a968
add esp, 0xc
cmp esi, edi
je 0x568975
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x568975
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x5689e5
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x5689ec
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x568add
test word [esi + 0xc], 0x10c
je 0x568a40
mov eax, dword [esi + 4]
test eax, eax
je 0x568a40
jl 0x568b3e
cmp ebx, eax
mov edi, ebx
jb 0x568a11
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x568ae5
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0056fb29
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x568ad5
cmp ebx, dword [ebp - 0xc]
jb 0x568aad
cmp dword [ebp - 0xc], 0
je 0x568a6a
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x568a5f
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x568a66
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x568a75
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x568a75
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x568b11
push eax
push dword [ebp - 8]
push esi
call fcn.00567abc
pop ecx
push eax
call fcn.0056fa2c
add esp, 0xc
test eax, eax
je 0x568b50
cmp eax, 0xffffffff
je 0x568b3e
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x568ad5
push esi
call fcn.0056be63
cmp eax, 0xffffffff
pop ecx
je 0x568b42
cmp dword [ebp - 4], 0
je 0x568b11
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x5689f4
mov eax, dword [ebp + 0x14]
jmp 0x56898f
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x568afc
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0056a968
add esp, 0xc
call fcn.00566432
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x568985
cmp dword [ebp + 0xc], 0xffffffff
je 0x568b27
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0056a968
add esp, 0xc
call fcn.00566432
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x568985
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x56898f
or dword [esi + 0xc], 0x10
jmp 0x568b42
Function at 0x811790
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x811860
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x811860
mov ebp, dword [esp + 0x28]
mov esi, 0x1505
test ebp, ebp
je 0x8117dd
xor edi, edi
nop
movzx ecx, byte [ebx + edi]
test ecx, ecx
je 0x8117dd
mov edx, esi
shl edx, 5
add edx, esi
mov esi, edx
and esi, ecx
xor edx, ecx
lea esi, [edx + esi*2]
inc edi
cmp ebp, edi
jne 0x8117c0
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x811860
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x811804
inc edi
dec ebx
je 0x81185e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x81185e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x811800
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.008191a0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x811800
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.008191c0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x811800
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x811860
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret