joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483850
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 8], 0
je 0x483860
mov eax, esi
call fcn.0045f210
jmp 0x48386d
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 4]
test eax, eax
js 0x4838c8
je 0x4838c8
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebp
push 1
push 0x8000012f
mov edi, eax
call fcn.004014c0
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call ebx
test eax, eax
je 0x4838c5
add edi, dword [esp + 0x10]
call ebp
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x4838c5
push 1
push 0x8000012f
call fcn.004014c0
add esp, 8
push esi
call ebx
test eax, eax
jne 0x4838a4
pop edi
pop ebp
pop ebx
mov eax, esi
ret
Function at 0x483ad0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004a7400
mov eax, dword [esp + 0x11c70]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
push esi
mov esi, ecx
movzx ecx, word [edx]
xor ebx, ebx
cmp ecx, 0x41
je 0x483afc
cmp ecx, 0x61
jne 0x483b5e
cmp word [edx + 2], bx
jne 0x483b5e
cmp word [edi], bx
jne 0x483b5e
cmp word [eax], bx
jne 0x483b5e
cmp word [esi], bx
jne 0x483b5e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x483b3f
cmp byte [ebp + 0xea], bl
jne 0x483b3f
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x483b3d
push esi
call fcn.00484730
add esp, 4
test al, al
je 0x483b3f
xor esi, esi
cmp byte [esp + 0x11c84], bl
je 0x483b52
cmp esi, ebx
je 0x483b52
mov dword [ebp + 0xc4], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
cmp cx, bx
jne 0x483b83
cmp word [edi], bx
jne 0x483b83
cmp word [eax], bx
jne 0x483b83
cmp word [esi], bx
jne 0x483b83
mov eax, ebp
call fcn.00483ce0
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
push esi
push edi
push edx
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x102c], 0x4af9bc
mov byte [esp + 0x1849], bl
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1850], ebx
mov dword [esp + 0x1854], ebx
mov dword [esp + 0x1858], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov dword [esp + 0x186c], ebx
mov dword [esp + 0x1870], ebx
call fcn.00484890
test eax, eax
je 0x483c92
test byte [esp + 0x10], 2
mov al, byte [esp + 0x11c80]
mov ecx, dword [esp + 0x11c88]
mov edx, dword [esp + 0x11c8c]
mov byte [esp + 0x1839], al
mov dword [esp + 0x1848], ecx
mov dword [esp + 0x184c], edx
je 0x483c9e
mov eax, dword [esp + 0x102c]
cmp eax, 0xffff
je 0x483c6a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x483c92
cmp byte [ebp + 0xea], bl
jne 0x483c63
mov esi, dword [esp + 0x102c]
call fcn.004847a0
cmp al, bl
jne 0x483c63
mov eax, dword [esp + 0x102c]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x483c92
mov eax, dword [esp + 0x102c]
cmp dword [esp + 0x1860], eax
je 0x483c83
lea esi, [esp + 0x10]
mov dword [esp + 0x1860], eax
call fcn.00484cf0
push ebx
lea ecx, [esp + 0x14]
push ecx
call fcn.00484db0
test eax, eax
jne 0x483cae
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
lea edx, [esp + 0x10]
push edx
push 0x483d60
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1840]
cmp byte [esp + 0x11c84], bl
je 0x483cc8
cmp eax, ebx
je 0x483cc8
mov dword [ebp + 0xc4], eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
Function at 0x484cf0
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0x1850]
test ecx, ecx
je 0x484dae
mov eax, dword [esi]
test eax, eax
je 0x484dae
push edi
test al, 1
jne 0x484d1a
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x484d36
push 0x7fff
lea edi, [esi + 0x1858]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x484d36
xor ecx, ecx
mov word [edi], cx
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x484d51
mov eax, dword [esi + 0x1850]
lea edx, [esi + 0x1854]
push edx
push eax
call edi
test byte [esi], 0x20
je 0x484d8f
mov edx, dword [esi + 0x1850]
lea ecx, [esp + 4]
push ecx
push edx
call edi
test eax, eax
je 0x484d8f
movzx eax, byte [esi + 0x1828]
mov ecx, dword [esp + 4]
push eax
lea eax, [esi + 0x11a58]
call fcn.0045b8b0
add esp, 4
test eax, eax
jne 0x484d8f
xor ecx, ecx
mov word [esi + 0x11a58], cx
test byte [esi], 8
pop edi
je 0x484dae
mov eax, dword [esi + 0x1850]
push 0x101
lea edx, [esi + 0x11856]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
pop ecx
ret

Function at 0x4855f0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c64
call fcn.004a7400
mov eax, dword [esp + 0x11c68]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x48569d
mov dword [esp + 0x1848], eax
lea eax, [esp + 8]
push eax
push 0x485d70
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x4af9bc
mov byte [esp + 0x1839], bl
mov dword [esp + 0x183c], ebx
mov dword [esp + 0x1840], ebx
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov byte [esp + 0x1854], cl
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1838], ebx
je 0x48569d
mov ecx, dword [0x4d4b04]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x48569d
push 1
push eax
call fcn.004014c0
add esp, 8
mov eax, 1
pop ebx
add esp, 0x11c64
ret 4
Function at 0x4856b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x4856cc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4d4b04]
push eax
push esi
mov ecx, edi
call fcn.00485b70
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x485703
test eax, eax
jne 0x485707
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.004857c0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x485786
test esi, esi
je 0x485786
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.004014c0
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x485765
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x485765
push 1
push 0x8000012f
call fcn.004014c0
add esp, 8
push esi
call edi
test eax, eax
jne 0x485740
mov edx, dword [0x4d4b04]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x48577e
push 1
push eax
call fcn.004014c0
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x4857a0
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.004857c0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00485940
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x485940
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004a7400
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x485ac0
xor cl, cl
mov eax, edi
call fcn.00485ae0
test eax, eax
jne 0x485975
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4d4b04]
push eax
push ebp
mov ecx, edi
call fcn.00485b70
test eax, eax
je 0x485998
xor eax, eax
mov dword [0x4d9630], eax
jmp 0x48599d
mov eax, dword [0x4d9630]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x4af9bc
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1864], ebx
mov dword [esp + 0x1868], ebx
cmp byte [esp + 0x11c7c], bl
je 0x4859e3
mov byte [esp + 0x1841], bl
cmp eax, ebx
je 0x4859eb
mov byte [esp + 0x1841], 1
mov ecx, dword [0x4d962c]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x18]
push eax
push 0x485c40
mov dword [esp + 0x1858], ecx
mov dword [esp + 0x1860], edx
call esi
mov eax, dword [esp + 0x1848]
cmp eax, ebx
je 0x485a98
lea ecx, [esp + 0x10]
push ecx
push 0x484600
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x485a55
mov edx, dword [esp + 0x1848]
call fcn.00485280
mov dword [esp + 0x1848], esi
mov eax, dword [esp + 0x1848]
call fcn.00483580
mov edx, dword [esp + 0x1848]
call fcn.00485280
mov edx, dword [0x4d4b04]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x485ac0
push 1
push eax
call fcn.004014c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
mov eax, dword [0x4d9630]
cmp eax, ebx
je 0x485ac0
cmp eax, 1
setg al
mov dword [0x4d9630], ebx
cmp al, bl
je 0x485ac0
mov edx, ebp
call fcn.00485280
push ebx
mov ecx, edi
call fcn.00485940
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11c68
ret 4
Function at 0x4a1327
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d3de0]
jne 0x4a1331
repz ret
jmp fcn.004a710f

Function at 0x4a4560
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d3de0]
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.0049d402
and dword [ebp - 0x14], 0
cmp dword [0x4d6df4], 0
mov dword [ebp - 0x18], eax
jne 0x4a4613
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4a46bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4af100
push ebx
call edi
test eax, eax
je 0x4a46bb
mov esi, dword [fcn.00498ce0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4d6df4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4d6df8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d6dfc], eax
call edi
push eax
call esi
mov dword [0x4d6e04], eax
test eax, eax
je 0x4a4613
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4d6e00], eax
mov eax, dword [0x4d6e00]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00498ce4]
cmp eax, ecx
je 0x4a466c
cmp dword [0x4d6e04], ecx
je 0x4a466c
push eax
call esi
push dword [0x4d6e04]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4a466c
test ebx, ebx
je 0x4a466c
call edi
test eax, eax
je 0x4a4663
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4a4663
test byte [ebp - 8], 1
jne 0x4a466c
or dword [ebp + 0x10], 0x200000
jmp 0x4a469f
mov eax, dword [0x4d6df8]
cmp eax, dword [ebp - 0x18]
je 0x4a469f
push eax
call esi
test eax, eax
je 0x4a469f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a469f
mov eax, dword [0x4d6dfc]
cmp eax, dword [ebp - 0x18]
je 0x4a469f
push eax
call esi
test eax, eax
je 0x4a469f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d6df4]
call esi
test eax, eax
je 0x4a46bb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4a46bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1327
leave
ret
Function at 0x70081b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x70081bf
pop dword [ebp - 0x3c]
mov eax, 0x31b212dd
sub eax, 0x2ab1911e
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x5c53878f
sub dword [ebp - 0x4c], 0xe014244
mov dword [ebp - 0x48], 0x2ad250c0
sub dword [ebp - 0x48], 0xf89f047b
mov dword [ebp - 0x44], 0xcddcaf2d
add dword [ebp - 0x44], 0x7e6f9501
mov dword [ebp - 0x40], 0x8038612a
sub dword [ebp - 0x40], 0x8038612a
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x7eb420b4
sub dword [ebp - 0x4c], 0xa41b75e
mov dword [ebp - 0x48], 0xc1bb20a5
sub dword [ebp - 0x48], 0x804ebf30
mov dword [ebp - 0x44], 0xa7c1ef4b
sub dword [ebp - 0x44], 0x445282df
mov dword [ebp - 0x40], 0xcacc2c64
add dword [ebp - 0x40], 0x3533d39c
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3e700
push 0
call eax
mov ecx, 0xf41b8f3c
sub ecx, 0xf41b37f1
mov ebx, eax
mov esi, 0x701e000
add esi, dword [ebp - 0x3c]
mov edi, 0x1f512b62
sub dword [ebp - 0x10], ebx
mov edx, dword [esi]
xor dword [ebp - 0xc], 0x5caa6070
xor edx, edi
sub dword [ebp - 0x30], ecx
mov dword [ebx], edx
mov dword [ebp - 0x38], 0x17930009
add ebx, 4
add esi, 0x6c496bdd
sub esi, 0x6c496bd9
loop 0x70082cb
add eax, 0xff54c38d
sub eax, 0xff53738e
xor ebx, ebx
add ebx, eax
add eax, 0xce6c6a89
sub eax, 0xce6c6a84
mov ecx, 0xc54f0cd6
sub ecx, 0xbe4f0cd6
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x700c938
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x7010cdd
call fcn.07001ea6
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700cc00
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700d3f5
lea ecx, [ebp - 0x10]
call fcn.0700c8d5
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700c9a5
mov eax, dword [eax + 0x14]
jmp 0x700c9aa
mov eax, 0x70127b2
push 0x701411c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700c9dc
mov ecx, dword [edi + 4]
call fcn.07007826
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.070081b0
mov eax, edi
call fcn.07002b7f
ret 4
push str.file_does_not_exist
push ebx
call fcn.070081b0
int3
Function at 0x10029cb5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10029cc4
pop dword [ebp - 0x2c]
mov eax, 0xb339f506
add eax, 0x5cc8a7be
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x3dcd93b0
sub dword [ebp - 0x3c], 0xef7b4e65
mov dword [ebp - 0x38], 0xe75927c8
sub dword [ebp - 0x38], 0xb525db83
mov dword [ebp - 0x34], 0xbfee5510
add dword [ebp - 0x34], 0x8c5def1e
mov dword [ebp - 0x30], 0x31854bc2
sub dword [ebp - 0x30], 0x31854bc2
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x46ced556
sub dword [ebp - 0x3c], 0xd25c6c00
mov dword [ebp - 0x38], 0xd8e8bed0
add dword [ebp - 0x38], 0x6883a2a5
mov dword [ebp - 0x34], 0x18e0ff5e
add dword [ebp - 0x34], 0x4a8e6d0e
mov dword [ebp - 0x30], 0xf335daec
sub dword [ebp - 0x30], 0xf335daec
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3fd11
push 0
call eax
mov ecx, 0x4897
mov esi, eax
mov edi, 0x3737c11c
sub edi, 0x27320d1c
add edi, dword [ebp - 0x2c]
mov ebx, 0xb2bc378c
mov edx, dword [edi]
xor dword [ebp - 0x18], eax
xor edx, ebx
mov dword [esi], edx
add dword [ebp - 0x18], 0xf262cbe
add esi, 0x6ff7c9cf
add esi, 0x90083635
add edi, 0xdf20adbd
add edi, 0x20df5247
loop 0x10029dd0
add eax, 0x1152f
mov ebx, eax
add eax, 0x256159e0
sub eax, 0x256159db
mov ecx, 0xc0dafc50
sub ecx, 0xb0dafc50
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4318ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4318e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4318e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
invalid
invalid
Function at 0x10004043
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1000401f
pop esi
leave
ret 8
Function at 0x1000c200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ecx + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
cmp edi, 6
jae 0x1000c267
mov edx, ecx
mov ebx, ecx
mov ecx, 6
sub edx, esi
sub ecx, edi
cmp edx, ecx
jbe 0x1000c22e
lea ebx, [esi + 6]
mov ecx, ebx
xor edx, edx
sub ecx, esi
cmp ebx, esi
sbb ebx, ebx
not ebx
and ebx, ecx
je 0x1000c264
mov edi, edi
mov ecx, eax
inc edx
shl ecx, 6
inc edi
xor eax, ecx
lea ecx, [eax*8]
not ecx
xor eax, ecx
mov dword [ebp + 8], eax
mov al, byte [esi]
inc esi
xor byte [ebp + 8], al
mov eax, dword [ebp + 8]
cmp edx, ebx
jne 0x1000c240
mov ecx, dword [ebp + 0xc]
cmp edi, 9
jae 0x1000c2ba
mov edx, ecx
mov ebx, ecx
mov ecx, 9
sub edx, esi
sub ecx, edi
cmp edx, ecx
jbe 0x1000c284
mov ebx, esi
sub ebx, edi
add ebx, 9
mov ecx, ebx
xor edx, edx
sub ecx, esi
cmp ebx, esi
sbb ebx, ebx
not ebx
and ebx, ecx
je 0x1000c2ba
lea ecx, [eax*4]
inc edx
xor eax, ecx
inc edi
lea ecx, [eax*8]
not ecx
xor eax, ecx
mov dword [ebp + 8], eax
mov al, byte [esi]
inc esi
xor byte [ebp + 8], al
mov eax, dword [ebp + 8]
cmp edx, ebx
jne 0x1000c294
mov ecx, dword [ebp + 0xc]
xor edx, edx
sub ecx, esi
cmp dword [ebp + 0xc], esi
sbb ebx, ebx
not ebx
and ebx, ecx
je 0x1000c2ef
lea esp, [esp]
lea ecx, [eax*8]
inc edx
not ecx
lea esi, [esi + 1]
xor eax, ecx
mov dword [ebp + 8], eax
mov al, byte [esi - 1]
xor byte [ebp + 8], al
mov eax, dword [ebp + 8]
cmp edx, ebx
jne 0x1000c2d0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], edi
pop edi
pop esi
mov dword [ecx], eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1002d110
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov ebx, ecx
mov edi, dword [edx + 0x10]
jb 0x1002d126
mov edx, dword [edx]
mov esi, 0x811c9dc5
inc edi
je 0x1002d14e
mov edi, edi
mov cl, byte [edx]
lea eax, [ecx - 0x61]
cmp al, 0x19
movsx eax, cl
ja 0x1002d13f
sub eax, 0x20
movsx eax, al
inc edx
xor eax, esi
imul esi, eax, 0x1000193
dec edi
jne 0x1002d130
pop edi
mov dword [ebx], esi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 8
Function at 0x298052f3
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x29841842
call fcn.29802291
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x298053f7
cmp byte [esi + 0x45], bl
je 0x298053f7
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x29805328
xor al, al
jmp 0x298053f9
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.298157b2
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x14]
cmp edi, 0x10
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, ebx
lea ecx, [ebp - 0x28]
cmovae ecx, ebx
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x40]
lea eax, [esi + 0x48]
push eax
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x29805380
dec eax
je 0x29805384
dec eax
dec eax
je 0x298053e1
xor bl, bl
jmp 0x298053e3
mov byte [esi + 0x45], 0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edi, 0x10
mov ecx, dword [ebp - 0x30]
cmovae eax, ebx
sub ecx, eax
mov dword [ebp - 0x2c], ecx
je 0x298053c3
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, ebx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
cmp ecx, eax
jne 0x2980537c
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
cmp byte [esi + 0x45], 0
je 0x298053e1
test ecx, ecx
jne 0x29805349
push ecx
push 8
lea ecx, [ebp - 0x28]
call fcn.298157b2
jmp 0x29805343
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.298157b2
mov al, bl
jmp 0x298053f9
mov al, 1
call fcn.29802ba0
ret