joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov eax, dword [sym.imp.MSVCR100.dll__environ]
mov ecx, dword [eax]
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
mov dword [0x4033b4], ecx
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x401060
mov edi, dword [sym.imp.MSVCR100.dll_printf]
push str.Windows_original_main_args:_n
call edi
mov edx, dword [sym.imp.MSVCR100.dll___argc]
xor esi, esi
add esp, 4
cmp dword [edx], esi
jle 0x401060
lea ecx, [ecx]
mov eax, dword [sym.imp.MSVCR100.dll___argv]
mov ecx, dword [eax]
mov edx, dword [ecx + esi*4]
push edx
push esi
push str.wwwd_args__d____s_n
call edi
mov eax, dword [sym.imp.MSVCR100.dll___argc]
inc esi
add esp, 0xc
cmp esi, dword [eax]
jl 0x401040
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov edi, eax
lea ecx, [edi*4 + 4]
push ecx
call sub.jli.dll_JLI_MemAlloc
add esp, 8
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
xor ecx, ecx
test edi, edi
jle 0x40109b
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x401090
mov dword [esi + ecx*4], 0
mov ecx, dword [str.java]
test ecx, ecx
jne 0x4010ae
mov ecx, dword [esi]
mov eax, dword [str.java]
test eax, eax
jne 0x4010b9
mov eax, dword [esi]
push 0
push 1
push 0
push 1
push ecx
push eax
push 0x402248
push str.8.1.015
push 0x403028
push 5
push 0x403010
push 6
push esi
push edi
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
ret 0x10
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp loc.00401219

Function at 0x40208b
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push 0
push 2
push 0x404052
push 0x404044
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x107
jne 0x402103
mov byte [0x404067], al
push 0x404067
push 0x404070
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
cmp eax, 1
jne 0x402103
call fcn.00403535
push edx
mov eax, eax
push 0
push 2
push 0x404052
push 0x404054
call dword [sym.imp.Winmm.dll_mciSendStringA]
pop edx
add edx, eax
push edx
push 2
push 0x404069
push 0x404070
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
pop edx
add dl, byte [0x404069]
add edx, 0x100
call edx
xor eax, eax
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x403570
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push 0x40
push ebx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
ret

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4032e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x421020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403380
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403360
xor eax, eax
push ebp
push 0x403359
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40339c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403360
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x421020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x421020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ea0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x42b044], 0
je 0x403f01
cmp word [0x42b218], 0xd7b2
jne 0x403ec9
cmp dword [0x42b220], 0
jbe 0x403ec9
mov eax, 0x42b214
call dword [0x42b230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403f28
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x42102c], 0
jne 0x403f1d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405228
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405458
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4052ab
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405458
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4052ab
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405474
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405334
xor eax, eax
push ebp
push 0x40532d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405064
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405312
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405494
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405312
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405334
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40544e
cmp byte [ebp - 0xd], 0
jne 0x40537b
cmp byte [ebp - 0x12], 0
je 0x40544e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405394
dec ebx
cmp byte [ebx], 0x2e
je 0x4053a3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405393
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40544e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4053e0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40544e
cmp byte [ebp - 0xd], 0
je 0x40544e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40544e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405334
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405458
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4052ab
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405458
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4052ab
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405474
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405334
xor eax, eax
push ebp
push 0x40532d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405064
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405312
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405494
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405312
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405334
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40544e
cmp byte [ebp - 0xd], 0
jne 0x40537b
cmp byte [ebp - 0x12], 0
je 0x40544e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405394
dec ebx
cmp byte [ebx], 0x2e
je 0x4053a3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405393
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40544e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4053e0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40544e
cmp byte [ebp - 0xd], 0
je 0x40544e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40544e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405960
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x4059f0
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x4059f0
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x4059a3
test edx, 3
jne 0x405992
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x40599d
jmp 0x4059a3
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x4059a3
cmp dword [ecx - 8], 1
je 0x4059ad
mov edx, ebx
or edx, 3
call fcn.004045ac
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x4059bf
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404020

Function at 0x417cfc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x417d8c
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x417d8c
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x417d3f
test edx, 3
jne 0x417d2e
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x417d39
jmp 0x417d3f
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x417d3f
cmp dword [ecx - 8], 1
je 0x417d49
mov edx, ebx
or edx, 3
call fcn.004045ac
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x417d5b
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404020

Function at 0x417d98
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x417e28
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x417e28
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x417ddb
test edx, 3
jne 0x417dca
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x417dd5
jmp 0x417ddb
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x417ddb
cmp dword [ecx - 8], 1
je 0x417de5
mov edx, ebx
or edx, 3
call fcn.004045ac
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x417df7
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404020
Function at 0x41aa34
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x41aa6d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404110
jmp 0x41aa76
mov eax, ebx
mov edx, esi
call fcn.00404074
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41aa80
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x41aaa2
movzx eax, byte [esp]
jmp 0x41aaa4
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41b134
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x41afac
mov eax, dword [0x42ac44]
cmp byte [eax], 0
je 0x41b1b0
mov eax, dword [0x42ab7c]
call fcn.00402df0
call fcn.00402bd4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00418388
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x41b1f8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41b1e6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x42ab5c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x42d7f0]
call fcn.0040500c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x403f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44efed
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x468080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx], 0x467a0000
xorps xmm0, xmm0
mov dword [edx + 4], 0x41200000
mov dword [edx + 8], 0x41c80000
mov dword [edx + 0xc], 0x37fba882
mov dword [edx + 0x10], 0x3f7851ec
mov byte [edx + 0x14], 1
movups xmmword [edx + 0x18], xmm0
mov dword [edx + 0x28], 5
mov dword [edx + 0x2c], 0xf
mov eax, dword [str.povey]
mov dword [edx + 0x18], eax
mov al, byte [0x45a2ec]
mov byte [edx + 0x1c], al
mov byte [edx + 0x1d], 0
mov byte [edx + 0x30], 1
mov dword [edx + 0x34], 0x3ed70a3d
mov byte [edx + 0x38], 1
lea ecx, [edx + 0x3c]
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0x19
mov dword [ecx + 4], 0x41a00000
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0x42c80000
mov dword [ecx + 0x10], 0xc3fa0000
mov word [ecx + 0x14], 0
mov byte [ecx + 0x16], 0
movups xmmword [ecx + 0x18], xmm0
mov dword [ecx + 0x28], 6
mov dword [ecx + 0x2c], 0xf
mov eax, dword [str.slaney]
mov dword [ecx + 0x18], eax
mov ax, word [0x45a2f4]
mov word [ecx + 0x1c], ax
mov eax, edx
mov byte [ecx + 0x1e], 0
mov byte [edx + 0x6c], 0
mov dword [edx + 0x70], 0
mov dword [edx + 0x74], 0x1010001
mov dword [ecx], 0x17
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4040a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44efed
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x468080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx], 0x467a0000
xorps xmm0, xmm0
mov dword [edx + 4], 0x41200000
mov dword [edx + 8], 0x41c80000
mov dword [edx + 0xc], 0x37fba882
mov dword [edx + 0x10], 0x3f7851ec
mov byte [edx + 0x14], 1
movups xmmword [edx + 0x18], xmm0
mov dword [edx + 0x28], 5
mov dword [edx + 0x2c], 0xf
mov eax, dword [str.povey]
mov dword [edx + 0x18], eax
mov al, byte [0x45a2ec]
mov byte [edx + 0x1c], al
mov byte [edx + 0x1d], 0
mov byte [edx + 0x30], 1
mov dword [edx + 0x34], 0x3ed70a3d
mov byte [edx + 0x38], 1
lea ecx, [edx + 0x3c]
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0x19
mov dword [ecx + 4], 0x41a00000
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0x42c80000
mov dword [ecx + 0x10], 0xc3fa0000
mov word [ecx + 0x14], 0
mov byte [ecx + 0x16], 0
movups xmmword [ecx + 0x18], xmm0
mov dword [ecx + 0x28], 6
mov dword [ecx + 0x2c], 0xf
mov eax, dword [str.slaney]
mov dword [ecx + 0x18], eax
mov ax, word [0x45a2f4]
mov word [ecx + 0x1c], ax
mov eax, edx
mov byte [ecx + 0x1e], 0
mov dword [edx + 0x6c], 0xd
mov byte [edx + 0x70], 1
mov dword [edx + 0x74], 0
mov byte [edx + 0x78], 1
mov dword [edx + 0x7c], 0x41b00000
mov byte [edx + 0x80], 0
mov dword [ecx], 0x17
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4089e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f540
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x468080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.0042970d
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00428686
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00408f10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411220
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ff2d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x468080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x34], eax
call fcn.00406f00
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0040fb70
cmp dword [ebp - 0x14], 0xf
lea edi, [ebp - 0x28]
lea eax, [ebx + 0xe0]
mov edx, 0x811c9dc5
cmova edi, dword [ebp - 0x28]
xor ecx, ecx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
test ebx, ebx
je 0x4112b4
nop word [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4112a0
mov eax, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00411940
mov eax, dword [eax + 4]
test eax, eax
jne 0x4112d1
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x30]
cmp eax, dword [ecx + 0xe4]
je 0x41133b
push 0x65
push str.RegisterCommon
push str.D:_a_sherpa_onnx_sherpa_onnx_sherpa_onnxcsrcparse_options.cc
push str._s:_s:_d
push 2
call fcn.0042e730
add esp, 4
push eax
call fcn.004010b0
add esp, 0x14
cmp dword [esi + 0x14], 0xf
jbe 0x411308
mov esi, dword [esi]
push 2
call fcn.0042e730
add esp, 4
push esi
push str.Registering_option_twice__ignoring_second_time:__s
push eax
call fcn.004010b0
add esp, 0xc
push 0x45a2e4
push 2
call fcn.0042e730
add esp, 4
push eax
call fcn.004010b0
add esp, 8
jmp 0x41134e
push dword [ebp + 0x14]
lea eax, [ebp - 0x28]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push eax
push esi
call fcn.0040db00
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x41137e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411374
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41139c
push ecx
push edx
call fcn.0042973d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004296ff
mov esp, ebp
pop ebp
ret 0x10
call fcn.004312f0
int3