joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002d01
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
push 0x10
xor ebx, ebx
push 0x40
mov dword [ebp - 4], ebx
call esi
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x1002d42
push eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov edi, eax
test edi, edi
je 0x1002d45
push 0x10
push 0x40
call esi
mov dword [edi + ebx*4], eax
inc ebx
cmp ebx, 4
jl 0x1002d2d
jmp 0x1002d45
mov edi, dword [ebp + 0x14]
mov ebx, 0x100
push ebx
push 0x40
call esi
push ebx
push 0x40
mov dword [ebp - 8], eax
call esi
test edi, edi
mov dword [ebp - 0x10], eax
je 0x1002eb3
cmp dword [ebp - 8], 0
je 0x1002eb3
test eax, eax
je 0x1002eb3
push dword [ebp + 0x10]
call fcn.01001a88
test eax, eax
je 0x1002ea7
push dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp - 8]
push ebx
push 0x100c2a8
push 0x10013d0
push 0x1001434
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1002ebd
push ebx
call fcn.01002b73
push ebx
call fcn.01002bd0
test eax, eax
je 0x1002e50
push ebx
push 4
push dword [ebp - 0x10]
call fcn.01001655
movzx ebx, word [ebp + 0x14]
push ebx
mov esi, 0x100142c
push esi
push 0x10013a4
push 0x10
push dword [edi]
call fcn.01001728
mov eax, ebx
and eax, 0x3ff
push eax
push esi
push 0x10013a4
push 0x10
push dword [edi + 4]
call fcn.01001728
shr ebx, 0xa
push ebx
push esi
push 0x10013a4
push 0x10
push dword [edi + 8]
call fcn.01001728
push esi
push 0x10013a0
push 0x10
push dword [edi + 0xc]
call fcn.01001728
add esp, 0x4c
xor esi, esi
push dword [ebp + 0x10]
push 0x100
push dword [ebp - 8]
push 0x100c2a8
push dword [ebp - 0x10]
push dword [edi + esi*4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x1002e4d
inc esi
cmp esi, 4
jl 0x1002e22
mov ebx, dword [ebp - 8]
jmp 0x1002e57
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], 1
cmp byte [ebx], 0x22
jne 0x1002e93
cmp dword [ebp - 4], 0
je 0x1002ebd
and dword [ebp - 4], 0
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
push esi
push 4
push ebx
call fcn.01001655
mov al, byte [esi]
test al, al
je 0x1002ebd
cmp al, 0x22
je 0x1002e89
cmp byte [esi], 0
jne 0x1002e7e
jmp 0x1002ebd
mov byte [esi], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x1002ebd
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call fcn.0100166f
jmp 0x1002ebd
mov dword [0x100c290], 0x22b
jmp 0x1002ebd
mov dword [0x100c290], 0x228
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
je 0x1002ee7
test edi, edi
je 0x1002ed9
push dword [edi + ebx*4]
call esi
inc ebx
cmp ebx, 4
jl 0x1002eca
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push dword [ebp - 0xc]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10044eb
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 4
jl 0x100453e
cmp esi, 0x10
jl 0x1004524
mov eax, esi
shr eax, 4
je 0x1004524
mov ecx, dword [ebp + 8]
mov edx, eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ecx + 0xc]
xor edi, dword [ecx + 8]
xor edi, dword [ecx + 4]
xor edi, dword [ecx]
add ecx, 0x10
xor eax, edi
dec edx
jne 0x100450e
pop edi
jmp 0x100452a
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, esi
shr edx, 2
and edx, 3
je 0x1004544
xor eax, dword [ecx]
add ecx, 4
dec edx
jne 0x1004534
jmp 0x1004544
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
and esi, 3
mov edx, esi
pop esi
je 0x100456a
dec edx
je 0x1004565
dec edx
je 0x100455e
dec edx
jne 0x100456a
movzx edx, byte [ecx]
shl edx, 0x10
xor eax, edx
inc ecx
xor edx, edx
mov dh, byte [ecx]
xor eax, edx
inc ecx
movzx ecx, byte [ecx]
xor eax, ecx
pop ebp
ret 0xc
Function at 0x401a60
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x234
mov eax, dword [0x483644]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x238]
push esi
push edi
lea ecx, [esp + 8]
push ecx
xor edi, edi
push eax
mov dword [esp + 0x10], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, edi
je 0x401ae5
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edx, [esp + 0x10]
push edx
push esi
mov ebx, eax
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x401ae4
lea ecx, [ecx]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0xc]
jne 0x401ad5
cmp dword [esp + 0x28], ebx
jne 0x401ad5
mov edi, 1
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x401ac0
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0042a93e
add esp, 0x234
ret

Function at 0x401b10
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x42b8cc
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x483644]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483644]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
mov eax, dword [sym.imp.wxbase28u_vc_8_EFI.dll_class_wxAppConsole__wxAppConsole::ms_appInstance]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
mov edi, dword [esp + 0x830]
mov dword [esp + 0x18], 0
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1d8]
push 0
call eax
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x401c37
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebp, dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_int___thiscall_wxString::Find_wchar_t_const__const]
jmp 0x401ba0
push 0x800
lea ecx, [esp + 0x20]
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x400
lea edx, [esp + 0x20]
push edx
push esi
call ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxString::constructor_wchar_t_const__]
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x82c], 0
call ebp
cmp eax, 0xffffffff
je 0x401bf4
push esi
call fcn.00401a60
add esp, 4
test eax, eax
jne 0x401c1a
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x828], 0xffffffff
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxString::destructor_void_]
test esi, esi
jne 0x401ba0
jmp 0x401c37
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 1
mov dword [esp + 0x828], 0xffffffff
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxString::destructor_void_]
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and eax, esi
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0042a93e
add esp, 0x818
ret
Function at 0x416660
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42e952
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x483644]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxWindow::constructor_void_]
mov eax, dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_const_wxPanel::vftable]
xor ebx, ebx
push ebx
lea ecx, [esi + 0x144]
mov dword [esp + 0x1c], ebx
mov dword [esi], eax
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_void___thiscall_wxControlContainer::constructor_class_wxWindow__]
mov ecx, esi
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_protected:_void___thiscall_wxPanel::Init_void_]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
mov ecx, esi
call dword [sym.imp.wxmsw28u_core_vc_8_EFI.dll_public:_bool___thiscall_wxPanel::Create_class_wxWindow___int__class_wxPoint_const___class_wxSize_const___long_int__class_wxString_const__]
lea ecx, [esi + 0x16c]
mov dword [esp + 0x18], 1
mov dword [esi], vtable.CMainView.0
call fcn.0042a1f0
mov dword [esi + 0x184], 0x104
mov dword [esi + 0x190], ebx
mov byte [esi + 0x194], bl
mov byte [esi + 0x195], bl
mov dword [esi + 0x160], ebx
mov dword [esi + 0x15c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x18

Function at 0x418e30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42c759
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x483644]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [sym.imp.wxbase28u_vc_8_EFI.dll_wchar_t_const__const_wxEmptyString]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xc]
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxString::constructor_wchar_t_const__]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.004010f0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x418ebd
add ecx, 0xffffffff
mov dword [eax], ecx
jne 0x418ebd
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov dword [esi], vtable.SwitchUserLink.0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c
Function at 0x420cb0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x430444
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x483644]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x6c]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x420cf4
mov eax, dword [sym.imp.wxbase28u_vc_8_EFI.dll_wchar_t_const__const_wxEmptyString]
mov ecx, dword [eax]
mov dword [esi], ecx
jmp 0x420d04
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x420d04
add ecx, 1
mov dword [eax - 0xc], ecx
lea ebx, [esi + 8]
lea edx, [esp + 0x6c]
mov dword [esi + 4], 0
mov dword [ebx], 0
mov eax, dword [edi]
push edx
push eax
mov dword [esp + 0x6c], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [esp + 0x6c], eax
je 0x420dee
push eax
call fcn.0042a932
add esp, 4
push eax
mov dword [esi + 4], eax
mov eax, dword [esp + 0x70]
mov edi, dword [edi]
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x420d86
push str.VersionInfo:_can_not_retrieve_version_information
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 1
call fcn.00420c00
push 0x44a208
lea edx, [esp + 0x38]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push eax
push ebx
push 0x43ec68
push ecx
mov dword [esp + 0x20], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x420dd7
push str.VersionInfo:_can_not_retrieve_version_information
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 2
call fcn.00420c00
push 0x44a208
lea eax, [esp + 0x38]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret 4
push str.VersionInfo:_can_not_find_the_file.
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 3
call fcn.00420c00
push 0x44a208
lea edx, [esp + 0x38]
push edx
call sub.MSVCR80.dll__CxxThrowException
int3
Function at 0x425270
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x430aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x483644]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x485180], 0
jne 0x4252bd
mov eax, 0xfffff1e2
mov dword [esi + 0x1ac], eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8
cmp dword [esi + 0x14], 0
je 0x4252db
mov eax, 0xfffff2a6
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0xc]
call fcn.00424840
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
push 1
push edx
push eax
mov eax, dword [0x485180]
add esi, 0x18
push esi
push eax
mov eax, dword [eax + 0x270]
mov dword [esp + 0x38], 0
call eax
lea ecx, [esp + 0x1c]
mov esi, eax
mov eax, dword [0x485180]
mov edx, dword [eax + 0xd0]
push ecx
push eax
mov dword [esp + 0x40], 0xffffffff
call edx
add esp, 0x1c
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8

Function at 0x425350
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x430aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x483644]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x485180], 0
jne 0x4251dd
mov eax, 0xfffff1e2
mov dword [esi + 0x1ac], eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8
cmp dword [esi + 0x14], 0
je 0x4251fb
mov eax, 0xfffff2a6
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
push eax
lea ecx, [esp + 0xc]
call fcn.00424840
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
push 1
push edx
push eax
mov eax, dword [0x485180]
add esi, 0x18
push esi
push eax
mov eax, dword [eax + 0x270]
mov dword [esp + 0x38], 0
call eax
lea ecx, [esp + 0x1c]
mov esi, eax
mov eax, dword [0x485180]
mov edx, dword [eax + 0xd0]
push ecx
push eax
mov dword [esp + 0x40], 0xffffffff
call edx
add esp, 0x1c
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8
jmp 0x425190
Function at 0x427830
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x430e0f
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x483644]
xor eax, esp
mov dword [esp + 0x428], eax
push ebp
push esi
push edi
mov eax, dword [0x483644]
xor eax, esp
push eax
lea eax, [esp + 0x43c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44c]
mov dword [esp + 0x20], 0
mov eax, dword [sym.imp.wxbase28u_vc_8_EFI.dll_wchar_t_const__const_wxEmptyString]
mov ecx, dword [eax]
push ecx
mov ecx, edi
mov dword [esp + 0x448], 0
mov dword [esp + 0x28], edi
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxString::constructor_wchar_t_const__]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x14]
push edx
push 0x20019
xor esi, esi
push esi
push str.SoftwareEFI_Rel3Command_WorkStation_5
push 0x80000002
mov dword [esp + 0x458], 0
mov dword [esp + 0x34], 1
call ebp
test eax, eax
jne 0x42791f
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push str.APFPluginRoot
push eax
mov dword [esp + 0x28], 0x40d
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427910
mov ecx, dword [esp + 0x10]
cmp ecx, 2
jbe 0x427910
lea ecx, [esp + ecx + 0x28]
mov word [ecx], ax
mov byte [ecx + 2], al
lea esi, [eax + 1]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x42799c
lea edx, [esp + 0x14]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call ebp
test eax, eax
jne 0x42798d
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push str.CommonFilesDir
push eax
mov dword [esp + 0x28], 0x40d
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42797e
mov ecx, dword [esp + 0x10]
cmp ecx, 2
jbe 0x42797e
lea ecx, [esp + ecx + 0x28]
mov word [ecx], ax
mov byte [ecx + 2], al
lea esi, [eax + 1]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x42799c
push str.Program_FilesCommon_FilesEFI
mov ecx, edi
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_class_wxStringBase____thiscall_wxStringBase::operator_wchar_t_const__]
jmp 0x4279f4
lea edx, [esp + 0x28]
push edx
mov eax, edx
push str.EFI
push eax
call fcn.00427700
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxString::constructor_wchar_t_const__]
push eax
mov ecx, edi
mov dword [esp + 0x448], 1
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_class_wxStringBase____thiscall_wxStringBase::operator_class_wxStringBase_const__]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x4279f4
add ecx, 0xffffffff
mov dword [eax], ecx
jne 0x4279f4
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.0042a93e
add esp, 0x438
ret
Function at 0x427be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x430efc
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x483644]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x10], 0
call fcn.00427830
push 0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x48], 1
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_static_class_wxFileName___cdecl_wxFileName::DirName_class_wxString_const___enum_wxPathFormat_]
add esp, 0x10
mov esi, dword [esp + 0x40]
push 0
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 2
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_class_wxString___thiscall_wxFileName::GetFullPath_enum_wxPathFormat_]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 1
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxFileName::destructor_void_]
lea ecx, [esp + 8]
mov byte [esp + 0x38], 0
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxString::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x427c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x430f65
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483644]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea edi, [esi + 0xc]
push 0
mov ecx, edi
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_protected:_void___thiscall_wxArrayString::Init_bool_]
mov eax, dword [sym.imp.wxbase28u_vc_8_EFI.dll_wchar_t_const__const_wxEmptyString]
mov ecx, dword [eax]
lea ebp, [esi + 0x20]
mov dword [esp + 0x30], 0
mov dword [ebp], ecx
lea ecx, [esi + 0x24]
mov byte [esp + 0x30], 1
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxCriticalSection::constructor_void_]
mov edx, dword [sym.imp.wxbase28u_vc_8_EFI.dll_wchar_t_const__const_wxEmptyString]
mov eax, dword [edx]
lea ebx, [esi + 0x40]
mov dword [ebx], eax
mov ecx, dword [sym.imp.wxbase28u_vc_8_EFI.dll_wchar_t_const__const_wxEmptyString]
mov edx, dword [ecx]
mov dword [esi + 0x44], edx
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
mov dword [esi], 2
mov dword [esi + 4], 2
mov dword [esi + 8], 0
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_protected:_void___thiscall_wxArrayString::Init_bool_]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x34], 5
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_class_wxArrayString____thiscall_wxArrayString::operator_class_wxArrayString_const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_void___thiscall_wxArrayString::destructor_void_]
mov edi, dword [sym.imp.wxbase28u_vc_8_EFI.dll_public:_class_wxStringBase____thiscall_wxStringBase::operator_wchar_t_const__]
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x3c], eax
mov ecx, dword [sym.imp.wxbase28u_vc_8_EFI.dll_wchar_t_const__const_wxEmptyString]
mov edx, dword [ecx]
push edx
mov ecx, ebx
call edi
mov eax, dword [sym.imp.wxbase28u_vc_8_EFI.dll_wchar_t_const__const_wxEmptyString]
mov ecx, dword [eax]
push ecx
mov ecx, ebp
call edi
mov edx, dword [sym.imp.wxbase28u_vc_8_EFI.dll_wchar_t_const__const_wxEmptyString]
mov eax, dword [edx]
push eax
lea ecx, [esi + 0x44]
call edi
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x42a93e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x483644]
jne 0x42a948
repz ret
jmp fcn.0042afed