joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401260
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x405008]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
push esi
mov edx, dword [eax + 4]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401280
sub ecx, esi
push ecx
push edx
mov ecx, 0x405058
call fcn.004013d0
call dword [sym.imp.lua51.dll_luaL_newstate]
push eax
mov dword [0x405450], eax
call dword [sym.imp.lua51.dll_luaL_openlibs]
push 0
push 0x4011d0
push dword [0x405450]
call dword [sym.imp.lua51.dll_lua_pushcclosure]
push str.luaXdd
push 0xffffd8ee
push dword [0x405450]
call dword [sym.imp.lua51.dll_lua_setfield]
push str.ass__io.read_n__if_ass__tonumber_3__then_print_nigga__luaXdd___end
push dword [0x405450]
call dword [sym.imp.lua51.dll_luaL_loadstring]
add esp, 0x24
test eax, eax
jne 0x401303
push eax
push 0xffffffffffffffff
push eax
push dword [0x405450]
call dword [sym.imp.lua51.dll_lua_pcall]
add esp, 0x10
test eax, eax
je 0x40139d
push 0
push 0xffffffffffffffff
push dword [0x405450]
call dword [sym.imp.lua51.dll_lua_tolstring]
mov edx, eax
mov dword [esp + 0x10], 0
mov ecx, edx
mov dword [esp + 0x20], 0
add esp, 0xc
mov dword [esp + 0x18], 0xf
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401335
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0xc]
call fcn.004013d0
cmp dword [esp + 0x18], 0x10
lea eax, [esp + 4]
cmovae eax, dword [esp + 4]
push eax
push 0x4031e0
call fcn.00401020
mov edx, dword [esp + 0x20]
add esp, 8
cmp edx, 0x10
jb 0x40139d
mov ecx, dword [esp + 4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401393
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401393
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00401799
add esp, 8
cmp dword [0x40506c], 0x10
mov eax, 0x405058
cmovae eax, dword [0x405058]
cmp byte [eax], 0x78
jne 0x4013bd
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0040150a
mov esp, ebp
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x422377
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004195c7
and dword [ebp - 4], 0
cmp dword [0x42efe8], 0
mov ebx, eax
jne 0x422428
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4224d9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4224d9
push eax
call fcn.00419555
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42efe8], eax
call esi
push eax
call fcn.00419555
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42efec], eax
call esi
push eax
call fcn.00419555
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42eff0], eax
call esi
push eax
call fcn.00419555
pop ecx
mov dword [0x42eff8], eax
test eax, eax
je 0x422428
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00419555
pop ecx
mov dword [0x42eff4], eax
mov eax, dword [0x42eff4]
cmp eax, ebx
je 0x422480
cmp dword [0x42eff8], ebx
je 0x422480
push eax
call fcn.004195d0
push dword [0x42eff8]
mov esi, eax
call fcn.004195d0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422480
test edi, edi
je 0x422480
call esi
test eax, eax
je 0x422477
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x422477
test byte [ebp - 0xc], 1
jne 0x422480
or dword [ebp + 0x10], 0x200000
jmp 0x4224b9
mov eax, dword [0x42efec]
cmp eax, ebx
je 0x4224b9
push eax
call fcn.004195d0
pop ecx
test eax, eax
je 0x4224b9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4224b9
mov eax, dword [0x42eff0]
cmp eax, ebx
je 0x4224b9
push eax
call fcn.004195d0
pop ecx
test eax, eax
je 0x4224b9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42efe8]
call fcn.004195d0
pop ecx
test eax, eax
je 0x4224d9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4224db
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408919
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
dec edx
call fcn.00408948
sub esi, esi
sub esi, 0x53aaaf85
xor dword [ecx], eax
dec esi
add edx, 0x2f96b083
add ecx, 1
sub edx, esi
cmp ecx, edi
jne fcn.00408919
ret
Function at 0x402200
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.wmain
mov dword [esp], eax
call sub.ucrtbase.dll_exit

Function at 0x4022f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x40234b
cmp byte [esi + ebx - 1], 0xa
je 0x40231f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x406084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x402870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x406094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x402a30
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x406094]
movzx eax, al
bt eax, esi
jae 0x402a90
mov ecx, dword [0x406084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x402936
test byte [0x403018], 8
jne 0x4029d0
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x403028], 8
jne 0x402980
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x402905
cmp esi, 3
jbe 0x402940
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x4044f4]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x402905
mov ecx, dword [0x406094]
test ecx, ecx
je 0x402a70
mov dword [esp], 0x403028
call dword [0x406094]
test al, 8
je 0x4028dc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x4028dc
mov ebx, dword [0x406094]
test ebx, ebx
je 0x402a50
mov dword [esp], 0x403018
call dword [0x406094]
test al, 8
je 0x4028c9
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
shr edx, 6
imul ebx, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, ebx
lea ebx, [esp + 0x28]
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x4028cf
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x406094
call sym._load_func.part.0
jmp 0x402890
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x406094
call sym._load_func.part.0
jmp 0x4029da
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x406094
call sym._load_func.part.0
jmp 0x40298e
mov eax, 0xffffffff
jmp 0x402936
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4032d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x404200
mov dword [ebp - 0x60], ecx
mov esi, edx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x28]
mov dword fs:[0], eax
push 7
push str.2.5.4.32.5.4.102.5.4.112.5.4.6
push 1
call fcn.00402b40
add esp, 0xc
mov ecx, dword [ebp - 0x28]
mov eax, ecx
mov dword [ebp - 0x5c], ecx
neg eax
jo 0x40332d
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], eax
jmp 0x40333b
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x40], esi
mov edx, esi
mov dword [ebp - 0x58], eax
push 8
push 0x42836f
push 1
call fcn.00402b40
add esp, 0xc
mov ecx, dword [ebp - 0x28]
mov eax, ecx
mov dword [ebp - 0x50], ecx
neg eax
jo 0x403378
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], eax
jmp 0x403386
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x54], eax
push 8
push 0x428377
push 1
call fcn.00402b40
add esp, 0xc
mov edx, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x10], 2
mov eax, edx
mov dword [ebp - 0x4c], edx
neg eax
mov eax, edx
mov edx, dword [ebp - 0x40]
cmovo eax, ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, 1
cmovo ecx, eax
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x28]
push 7
push 0x42837f
push 1
call fcn.00402b40
add esp, 0xc
neg dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
mov ebx, 0
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x30]
cmovo eax, ebx
neg dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
cmovo edi, ebx
neg dword [ebp - 0x5c]
mov ecx, eax
cmovo esi, ebx
neg ecx
mov ecx, dword [ebp - 0x60]
cmovo eax, ebx
cmovno ebx, dword [ebp - 0x20]
mov dword [ecx], edx
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 0x34]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x18], edx
mov edx, dword [ebp - 0x48]
mov dword [ecx + 0x1c], edx
mov edx, dword [ebp - 0x44]
mov dword [ecx + 0x20], edx
mov edx, 1
mov dword [ecx + 0x24], eax
cmovno edx, dword [ebp - 0x24]
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], ebx
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 1
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 1
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 1
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 1
mov dword [ecx + 0x68], 0
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403e70
Capabilities:
Get geographical location

Disassembly:
push edi
push esi
sub esp, 0x18
mov esi, dword [esp + 0x28]
lea eax, [esp + 8]
push 1
push 0x428235
push esi
push eax
call fcn.00405120
add esp, 0x10
cmp byte [esp + 8], 4
jne 0x403fa0
mov edi, dword [esp + 0x24]
mov dword [esp], esi
mov esi, esp
mov byte [esp + 4], 1
push edi
push 0xb
push str.common_nameorganizationorganization_unitcountrythumbprint_sha1thumbprint_sha256serial_numbertbs_sha1tbs_sha256subjectissuercert_chainC:Usershrn83.cargo_registry_srcindex.crates.io_6f17d22bba15001f_serde_json_1.0.125_src_ser.rs
push esi
call fcn.004045a0
add esp, 0x10
test eax, eax
je 0x403ec2
add esp, 0x18
pop esi
pop edi
ret
lea eax, [edi + 0xc]
push eax
push 0xc
push 0x4283b3
push esi
call fcn.004045a0
add esp, 0x10
test eax, eax
jne 0x403ebc
lea eax, [edi + 0x18]
push eax
push 0x11
push 0x4283bf
push esi
call fcn.004045a0
add esp, 0x10
test eax, eax
jne 0x403ebc
lea eax, [edi + 0x24]
push eax
push 7
push 0x4283d0
push esi
call fcn.004045a0
add esp, 0x10
test eax, eax
jne 0x403ebc
lea eax, [edi + 0x30]
push eax
push 0xf
push 0x4283d7
push esi
call fcn.004045a0
add esp, 0x10
test eax, eax
jne 0x403ebc
lea eax, [edi + 0x3c]
push eax
push 0x11
push 0x4283e6
push esi
call fcn.004045a0
add esp, 0x10
test eax, eax
jne 0x403ebc
lea eax, [edi + 0x48]
push eax
push 0xd
push 0x4283f7
push esi
call fcn.004045a0
add esp, 0x10
test eax, eax
jne 0x403ebc
lea eax, [edi + 0x54]
push eax
push 8
push 0x428404
push esi
call fcn.004045a0
add esp, 0x10
test eax, eax
jne 0x403ebc
add edi, 0x60
push edi
push 0xa
push 0x42840c
push esi
call fcn.004045a0
add esp, 0x10
test eax, eax
jne 0x403ebc
mov ecx, dword [esp]
mov edx, dword [esp + 4]
call fcn.00401520
add esp, 0x18
pop esi
pop edi
ret
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x10]
movsd qword [esp + 0x10], xmm0
push eax
call fcn.00426310
add esp, 4
add esp, 0x18
pop esi
pop edi
ret
Function at 0x40f420
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x438
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x419a70
mov edi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 2
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 0
cmp edi, 0x201
jae 0x40f4b0
jmp 0x40f49e
jbe 0x40f53a
cmp edi, 0x201
jae 0x40f4b0
mov dword [ebp - 0x30], 0x200
lea ebx, [ebp - 0x444]
mov esi, edi
jmp 0x40f4e5
mov esi, dword [ebp - 0x34]
sub edi, esi
je 0x40f4d9
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
mov edx, esi
push 2
push 2
push edi
call fcn.00426670
add esp, 0xc
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x40f509
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x40f59d
cmp edi, esi
jne 0x40f490
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40f5bc
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jb 0x40f49e
jmp 0x40f4b0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0
cmp edi, eax
ja 0x40f5d9
lea eax, [ebp - 0x44]
push edi
push ebx
push eax
call fcn.00411b60
add esp, 0xc
movsd xmm0, qword [ebp - 0x44]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x3c]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40f587
add eax, eax
push 2
push eax
push dword [ebp - 0x24]
call fcn.00408ca0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x438
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], 0x80000000
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x40f577
jmp 0x40f587
mov dword [ebp - 0x10], 0
push 0x42aadc
push 0x28
push str.internal_error:_entered_unreachable_code_rustc_506052d49d3903ea554e4ce760cc53610cff4ef5library_alloc_src_vecmod.rs
call fcn.004270f0
add esp, 0xc
jmp 0x40f5e8
push 0x42aacc
push eax
push edi
call fcn.00427400
add esp, 0xc
ud2
Function at 0x416c40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov edi, edx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
lea ebx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x20], edx
xor edx, edx
test cl, 1
lea ecx, [esp + 0x20]
cmovne edx, ecx
mov ecx, dword [ebp + 0xc]
push 0
push edx
push ecx
push eax
push ebx
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x416cc0
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
cmp eax, 0x103
je 0x416ce2
test eax, eax
js 0x416ccc
mov eax, dword [esp + 0xc]
mov bl, 4
jmp 0x416cd5
xor ebx, ebx
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi + 4], eax
mov byte [esi], bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 4]
mov dword [esp + 0x2c], 0x42a700
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea esi, [esp + 0x44]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], 0
push eax
push ecx
push esi
call fcn.00411660
add esp, 0xc
mov ecx, esi
call fcn.0040de90
mov ecx, 7
int 0x29
ud2
Function at 0x425ad4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x425b13
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425b13
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425b13
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x425b13
cmp dword [ecx + 0x74], 0xe
jbe 0x425b13
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret