joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437010
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov eax, dword [0x458b4c]
test eax, eax
jne 0x4370ea
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x4588e8
mov dword [0x458b4c], 1
mov dword [0x4588e8], 0x114
call esi
mov edx, dword [0x4588f8]
xor eax, eax
cmp edx, 2
sete al
test eax, eax
mov dword [0x455f00], eax
je 0x4370de
push edi
push 0x458a00
mov dword [0x458a00], 0x11c
call esi
push 0x453cc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GetNativeSystemInfo
push esi
call edi
push str.GetProductInfo
push esi
mov dword [0x458b44], eax
call edi
mov dword [0x458b48], eax
mov eax, dword [0x458b44]
pop edi
test eax, eax
push 0x458b20
je 0x4370ac
call eax
jmp 0x4370b2
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x458a04]
cmp eax, 6
jae 0x4370ca
cmp eax, 5
jne 0x4370de
cmp dword [0x458a08], 2
jb 0x4370de
cmp word [0x458b20], 9
jne 0x4370de
mov dword [0x4588dc], 1
call fcn.004370f0
mov eax, 1
pop esi
ret
mov eax, 1
ret

Function at 0x437d40
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d3a8
push 0x41a362
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [0x458b50]
xor ebx, ebx
cmp eax, ebx
jne 0x437ea1
mov word [ebp - 0x220], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x437e9c
mov word [ebp - 0x42c], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x42a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x456584
lea ecx, [ebp - 0x220]
push ecx
push 0x4536ac
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
mov dword [ebp - 0x434], ebx
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x42c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x224], eax
push eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov esi, eax
mov dword [ebp - 0x440], esi
cmp esi, ebx
je 0x437e9c
push esi
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x434]
push eax
lea ecx, [ebp - 0x42c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x437e93
mov dword [ebp - 0x438], ebx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x438]
push eax
push 0x454248
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x437e93
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x43c], eax
mov ecx, dword [eax]
mov dword [0x458b50], ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x437e93
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, dword [0x458b50]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438670
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [ecx]
push edi
test esi, esi
mov dword [esp + 0xc], 0
je 0x4386c5
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0
push ecx
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x4386c5
cmp dword [esp + 0x18], 4
jne 0x4386c5
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push edi
push esi
call ebx
test eax, eax
mov eax, dword [esp + 0xc]
je 0x4386c9
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
add esp, 8
ret 8

Function at 0x438960
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44988f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42u.DLL_CString::CString_2
mov ecx, dword [esp + 0x34]
mov edi, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x4389cd
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x4389cf
mov esi, edi
test esi, esi
je 0x438a99
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438a8e
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x438a11
cmp eax, 2
je 0x438a11
cmp eax, 6
je 0x438a11
cmp eax, 7
jne 0x438a8e
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call sub.MFC42u.DLL_operatornew
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebp
jne 0x438a74
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator
cmp esi, dword [esp + 0x14]
je 0x438a69
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call sub.MFC42u.DLL_operatordelete
add esp, 4
jmp 0x438aab
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
push 0x456e1c
call sub.MFC42u.DLL_CString::operator
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x438a99
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x438aab
push eax
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x43a5f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp]
push ebx
push ebp
push esi
push edi
push 0
push 0
mov ebx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x43a76d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43a74c
mov eax, dword [esp + 0x1c]
cmp eax, 0x104
jae 0x43a646
mov eax, 0x104
mov dword [esp + 0x1c], eax
lea edx, [eax + eax + 2]
push edx
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
je 0x43a76d
mov eax, dword [esp + 0x1c]
mov edi, esi
lea ecx, [eax + eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x43a764
mov ebp, dword [esp + 0x20]
mov eax, ebp
or eax, 0x2001f
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
push ecx
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43a764
mov edi, dword [esp + 0x20]
test edi, edi
je 0x43a764
push ebp
push edi
call fcn.0043a5f0
add esp, 8
test eax, eax
je 0x43a759
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x458b58]
test eax, eax
je 0x43a6f5
test ebp, ebp
je 0x43a6f5
push 0
push ebp
push esi
push ebx
call eax
test eax, eax
jne 0x43a764
jmp 0x43a701
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x43a764
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
je 0x43a743
mov edx, dword [esp + 0x1c]
xor eax, eax
mov edi, esi
lea ecx, [edx + edx + 2]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x43a764
mov eax, dword [esp + 0x14]
jmp 0x43a69e
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
test edi, edi
je 0x43a764
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x43b0bb
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x449aeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004201b0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x104
push eax
mov dword [esp + 0x228], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00420f30
lea edx, [esp + 8]
push 1
push edx
mov ecx, esi
call fcn.00423210
mov eax, dword [eax]
push 0x452980
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call fcn.00420c50
test edi, edi
je 0x43b13f
push 0x452980
mov ecx, esi
call fcn.00421890
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret

Function at 0x43b29b
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x449b2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004201b0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x104
push eax
mov dword [esp + 0x228], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00420f30
lea edx, [esp + 8]
push 1
push edx
mov ecx, esi
call fcn.00423210
mov eax, dword [eax]
push 0x452980
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call fcn.00420c50
test edi, edi
je 0x43b31f
push 0x452980
mov ecx, esi
call fcn.00421890
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x9035f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x36a000]
push edi
or ebp, 0xffffffff
jmp 0x903612
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x903619
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x903608
mov eax, 1
add ebx, ebx
jne 0x90362b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x90363c
jne 0x90365b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x90365b
dec eax
add ebx, ebx
jne 0x903648
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x903620
add ebx, ebx
jne 0x903657
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9036ad
xor ecx, ecx
sub eax, 3
jb 0x903673
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9036e2
sar eax, 1
mov ebp, eax
jmp 0x90367e
add ebx, ebx
jne 0x90367e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x90364c
inc ecx
add ebx, ebx
jne 0x90368c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x90364c
add ebx, ebx
jne 0x903699
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x90368e
jne 0x9036aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x90368e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9036cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9036be
jmp 0x90360e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9036cc
add edi, ecx
jmp 0x90360e
pop esi
mov edi, esi
mov ecx, 0x692a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9036ea
cmp byte [edi], 0x22
jne 0x9036ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x9036ef
lea edi, [esi + 0x500000]
mov eax, dword [edi]
or eax, eax
je 0x903767
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x508a40]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x508b8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x90371c
mov ecx, edi
jns 0x90374b
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 + 0x508b94]
or eax, eax
je 0x903761
mov dword [ebx], eax
add ebx, 4
jmp 0x903739
call dword [esi + 0x508b90]
mov ebp, dword [esi + 0x508b98]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x90379b
sub esp, 0xffffff80
jmp 0x4e89c1
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x1002e7b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bec61
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100dd040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edx]
xorps xmm0, xmm0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x84], 0
movups xmmword [ecx + 0x90], xmm0
mov dword [ecx + 0xa0], 0
mov dword [ecx + 0xa4], 0xf
mov dword [ebp - 0x10], ecx
mov byte [ecx + 0x90], 0
mov dword [ebp - 4], 0
movups xmmword [ecx + 0xa8], xmm0
mov dword [ecx + 0xb8], 0
mov dword [ecx + 0xbc], 0xf
mov byte [ecx + 0xa8], 0
mov byte [ebp - 4], 1
mov word [ecx + 0xc1], 0
mov byte [ecx + 0xc3], 0
mov dword [ecx + 0xc0], 0
mov dword [ecx + 0x400], 0
mov dword [ecx + 0x404], 0
mov dword [ecx + 0x408], 0
mov dword [ecx + 0x40c], 0
mov dword [ecx + 0x410], 0
mov dword [ecx + 0x414], 0
mov dword [ecx + 0x418], 0
mov dword [ecx + 0x41c], 0
mov byte [ecx + 0x420], 0
push eax
mov byte [ecx + 0x3424], 0
mov dword [ecx + 0x3428], 0
mov dword [ecx + 0x342c], 0
mov dword [ecx + 0x3430], 0
mov dword [ecx + 0x3434], 0
mov dword [ecx + 0x3438], 0
mov dword [ecx + 0x343c], 0
mov byte [ecx + 0x344d], 0
mov byte [ecx + 0x3458], 0
mov byte [ecx + 0x3744], 0
mov dword [ecx + 0x3748], 0
mov dword [ecx + 0x374c], 0
mov dword [ecx + 0x3750], 0
mov dword [ecx + 0x3754], 0
mov dword [ecx + 0x3758], 0
mov dword [ecx + 0x375c], 0
mov byte [ecx + 0x3764], 0
mov dword [ecx + 0x3774], 0
mov byte [ecx + 0x377a], 0
mov dword [ecx + 0x377c], 0
mov dword [ecx + 0x3780], 0
call fcn.10025710
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1002ed80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov ebx, ecx
dec eax
push edi
mov edi, edx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0xc]
mov esi, edi
sar eax, 1
mov ecx, edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp edi, eax
jge 0x1002edde
nop dword [eax]
lea esi, [ecx + ecx]
push dword [ebx + esi*4 + 4]
push dword [ebx + esi*4 + 8]
call fcn.10028bc0
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, esi
mov eax, dword [ebx + ecx*4]
mov dword [ebx + edi*4], eax
mov edi, ecx
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jl 0x1002edb0
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, ecx
cmp ecx, eax
jne 0x1002edf5
mov eax, dword [ebp - 0x10]
test al, 1
jne 0x1002edf5
mov eax, dword [ebx + eax*4 - 4]
mov edi, dword [ebp - 0x14]
mov dword [ebx + ecx*4], eax
cmp esi, edi
jge 0x1002ee40
nop dword [eax]
push dword [edx]
lea esi, [edi - 1]
sar esi, 1
push dword [ebx + esi*4]
call fcn.10028bc0
test al, al
je 0x1002ee31
mov eax, dword [ebx + esi*4]
mov edx, dword [ebp - 4]
mov dword [ebx + edi*4], eax
mov edi, esi
cmp dword [ebp - 8], esi
jl 0x1002ee00
mov eax, edx
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10035f20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100dd040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10035fdc
cmp byte [esi + 0x3d], 0
je 0x10035fdc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10035fca
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10035f91
sub eax, 1
je 0x10035f95
sub eax, 2
jne 0x10035fca
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bc14c
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10035fb3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10035fca
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bc14c
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bc14c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100bc14c
mov esp, ebp
pop ebp
ret
Function at 0x10038da0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100f82e8], 0
push ebx
push esi
push edi
je 0x10038f2e
mov ecx, dword [0x10264b54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10038f2e
mov ecx, dword [0x10264bdc]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x10038f2e
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10038e00
xor edx, edx
test ecx, ecx
je 0x10038e29
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10038e10
cmp edi, 0x5ff56dc5
je 0x10038e38
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x10038f2e
mov ecx, dword [ebp - 4]
jmp 0x10038de4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x10038f2e
mov edx, dword [edi + 0x88]
test edx, edx
je 0x10038f2e
movss xmm1, dword [0x100d1fb8]
xor ebx, ebx
cmp edx, 4
jl 0x10038efb
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10038e9c
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10038eb7
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10038ed2
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10038ee5
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x10038e81
cmp ebx, edx
jl 0x10038eff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x10038f2e
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10038f23
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x10038f10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003a050
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1027e7f4]
sub esp, 0xc
push ebx
push esi
push edi
test al, 1
jne 0x1003a0d1
or eax, 1
mov dword [0x1027e7f4], eax
mov ebx, dword [0x10264b50]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x1003a0c9
nop word [eax + eax]
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003a090
xor edx, edx
test ecx, ecx
je 0x1003a0bd
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a0a0
cmp esi, 0xa9bf35
je 0x1003a153
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003a080
mov eax, dword [0x1027e7f4]
xor ebx, ebx
mov dword [0x1027e7d4], ebx
test al, 2
jne 0x1003a13d
or eax, 2
mov dword [0x1027e7f4], eax
mov ecx, dword [0x10264b50]
mov ebx, dword [ecx + 0x30]
test ebx, ebx
je 0x1003a135
nop word [eax + eax]
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003a100
xor edx, edx
test ecx, ecx
je 0x1003a129
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a110
cmp esi, 0xe5abc68c
je 0x1003a15d
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003a0f0
mov eax, dword [0x1027e7f4]
xor ebx, ebx
mov dword [0x1027e7d0], ebx
test al, 4
jne 0x1003a1a8
or eax, 4
mov dword [0x1027e7f4], eax
mov eax, dword [0x10264b50]
mov ebx, dword [eax + 0x30]
jmp 0x1003a19c
mov eax, dword [0x1027e7f4]
jmp 0x1003a0cb
mov eax, dword [0x1027e7f4]
jmp 0x1003a137
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003a170
xor edx, edx
test ecx, ecx
je 0x1003a199
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a180
cmp esi, 0xadc3dc05
je 0x1003a1a0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003a164
mov dword [0x1027e7bc], ebx
jmp 0x1003a1ae
mov ebx, dword [0x1027e7bc]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1027e7d0]
fstp dword [ebp - 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
mov ecx, dword [0x1027e7d4]
fstp dword [ebp - 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
movss xmm0, dword [ebp - 8]
sub esp, 8
divss xmm0, dword [ebp - 0xc]
fstp dword [ebp - 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
add esp, 8
fstp dword [0x100e0c74]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret