joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10097a50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10112000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10097a9d
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10097a9d
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10097a9d
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x10097aad
add eax, 4
cmp eax, ecx
jb 0x10097a92
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4f20
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x10097a9d
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x10097ac1
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x10097ac7
mov word [ebp - 0xc], 0x15ff
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
je 0x10097b35
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x10097b20
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
nop dword [eax]
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x10097b01
cmp dl, 0x11
jne 0x10097b1a
inc eax
cmp eax, 6
jl 0x10097af0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4f20
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x10097ae7
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4f20
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push 6
push eax
call fcn.100981f0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100b4f20
mov esp, ebp
pop ebp
ret

Function at 0x10097b60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, 0x5a4d
sub esp, 0xc
cmp ax, word [edx]
jne 0x10097ba3
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10097ba3
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10097ba3
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x10097bbe
add eax, 4
cmp eax, ecx
jb 0x10097b98
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x10097ba3
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x10097bd2
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x10097bd8
mov word [ebp - 0xc], 0x15ff
push dword [ebp + 0x18]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push 6
push eax
push dword [ebp + 8]
call fcn.100975b0
mov eax, dword [ebp + 8]
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x100982d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10098220
add esp, 0x18
test eax, eax
je 0x100982f9
inc eax
cmp byte [eax], 0xcc
je 0x100982f3
pop ebp
ret
Function at 0x10098500
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10098440
add esp, 0x18
test eax, eax
je 0x10098529
inc eax
cmp byte [eax], 0xcc
je 0x10098523
pop ebp
ret

Function at 0x1009a820
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1009a9d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1009a8ed
mov edx, dword [ebp - 4]
cmp edx, dword [0x10111f78]
jb 0x1009a86a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10111f7c]
ja 0x1009a86a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1009a83a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b63e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1009a890
jmp 0x1009a8ed
cmp dword [ebp - 0x14], 0x10000
jne 0x1009a8d3
cmp dword [ebp - 0x18], 0x10000
jb 0x1009a8d3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009a8c6
mov eax, dword [ebp - 8]
jmp 0x1009a8ef
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1009a8e8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1009a9d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1009a83a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1009a900
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1009aa00
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1009a9c5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10111f78]
jb 0x1009a945
mov eax, dword [ebp - 4]
cmp eax, dword [0x10111f7c]
ja 0x1009a945
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1009a915
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b63e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1009a96b
jmp 0x1009a9c5
cmp dword [ebp - 0x14], 0x10000
jne 0x1009a9ae
cmp dword [ebp - 0x18], 0x10000
jb 0x1009a9ae
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009a9a1
mov eax, dword [ebp - 8]
jmp 0x1009a9c7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1009a9c0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1009aa00
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1009a915
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100a284b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100a2872
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100a2875
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100a2827
pop esi
leave
ret 8

Function at 0x100a7cdf
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x100a7d02
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x100a7cf0
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100b4b5d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.100cbafa
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100b4ba0
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x100b4ba0
sub eax, 1
je 0x100b4b9b
sub eax, 1
je 0x100b4b97
xor eax, eax
leave
ret
push 3
jmp 0x100b4ba2
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100d3c25
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100fbcec
push 0x100fbce4
push str.FlsAlloc
push 0x1e
call fcn.100d3a52
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d3c59
push dword [ebp + 8]
mov ecx, esi
call dword [0x100ea340]
call esi
jmp 0x100d3c5f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100d3ca3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100fbcfc
push 0x100fbcf4
push str.FlsGetValue
push 0x20
call fcn.100d3a52
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d3cda
push dword [ebp + 8]
mov ecx, esi
call dword [0x100ea340]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100d710c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100d71a9
push ebx
push esi
call fcn.100d70d5
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100d583c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d7156
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d71a8
push edi
push eax
call fcn.100d2400
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100d7176
call fcn.100d23c6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d71a7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100d583c
add esp, 0x20
test eax, eax
jne 0x100d7195
push edi
call fcn.100d23c6
jmp 0x100d719d
push ebx
call fcn.100d23c6
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100d71ac
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100d71bd
pop esi
ret
push ebx
push edi
push esi
call fcn.100d70d5
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100d2400
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100d71e5
push ebx
push esi
push edi
call fcn.100b67a0
add esp, 0xc
push 0
call fcn.100d23c6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100d75a9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d71fa
Function at 0x100df350
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100df37d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100df37d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
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
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0xe01d20
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe01d2a
pushal
call 0xe01d30
pop ebp
sub ebp, 0x10
sub ebp, 0xa01d20
jmp 0xe01d46
mov eax, 0xa01d20
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ad
mov edx, 0x55d4e220
xor byte [eax], dl
inc eax
dec ecx
jne 0xe01d5d
jmp 0xe01d70
stosd dword es:[edi], eax
in eax, dx
stosd dword es:[edi], eax
test eax, 0x2020201c
mov eax, dword [0x2020d8e1]
and byte [ebx], ah
in eax, dx
cwde
and al, 0x20
and byte [eax], ah
lcall 0xc2d7, 0x20202008
and ebp, eax
stosd dword es:[edi], eax
mov eax, dword [0x2020202c]
and esp, ebp
jo 0xe01e08
dec eax
add byte [ecx + eax], bl
and byte [eax - 0x22], cl
rcr byte [esi + 0x20], 0x21
or al, 4
dec eax
xor byte [edi + 0x35], cl
mov bh, 0xc8
and eax, 0xc9202020
adc al, 0x20
and byte [eax], ah
lodsd eax, dword [esi]
inc esp
add al, 0xdc
test eax, 0x7d74040c
stosd dword es:[edi], eax
movsd dword es:[edi], dword [esi]
sub byte [eax], ah
and byte [eax], ah
stosd dword es:[edi], eax
mov ch, 0x2c
and byte [eax], ah
and byte [ebx + 0x202030ad], ch
and cl, ah
leave
and dl, byte [ecx]
and ah, byte [ebx + 0x2f6924e2]
movsd dword es:[edi], dword [esi]
aam 0xdf
invalid
leave
popal
and ah, byte [eax]
and byte [ebp - 0x53], dh
dec esp
add al, 0x20
fist word [ebp + 0x2c]
fist word [ebp + 0x28]
enter 0x2052, 0x20
and byte [ebx + 0x2020289d], ch
and byte [ecx - 0x15b9992f], ah
mov ebp, 0x4666d1a1
ljmp 0xa3f2

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0xa680810
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x49b204ab
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x100012e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10039dc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call sym.Host71.dll_public:_void___thiscall_CSubclassWnd::constructor_void_
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], edi
mov dword [esi], sym.Host71.dll_const_CAutoComplete::vftable
call sub.MFC71.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100042d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1003a0d7
push eax
mov dword fs:[0], esp
sub esp, 0x428
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44c]
test edi, edi
je 0x1000439d
mov esi, dword [edi + 0x118]
mov ebp, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push esi
xor ebx, ebx
call ebp
test eax, eax
je 0x1000439d
mov eax, dword [edi + 0x114]
test eax, eax
je 0x10004497
mov eax, dword [esp + 0x448]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x100043b8
push eax
push 0x47
lea ecx, [esp + 0x40]
call sym.Host71.dll_public:_void___thiscall_String::constructor_unsigned_int__struct_HINSTANCE____
mov esi, eax
push ebx
push 0x26
lea ecx, [esp + 0x240]
mov dword [esp + 0x448], ebx
call sym.Host71.dll_public:_void___thiscall_String::constructor_unsigned_int__struct_HINSTANCE____
mov ecx, dword [esp + 0x448]
push 0x30
push esi
push eax
mov byte [esp + 0x44c], 1
call sub.MFC71.DLL_CWnd::MessageBoxA
lea ecx, [esp + 0x238]
mov byte [esp + 0x440], bl
call sym.Host71.dll_public:_void___thiscall_String::destructor_void_
mov dword [esp + 0x440], 0xffffffff
lea ecx, [esp + 0x38]
call sym.Host71.dll_public:_void___thiscall_String::destructor_void_
xor eax, eax
mov ecx, dword [esp + 0x438]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x434
ret
push esi
call ebp
or ebp, 0xffffffff
test eax, eax
je 0x1000441a
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x1000441a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x400
push 3
push esi
lea ecx, [esp + 0x1c]
call sub.Utils50.dll_Ordinal_85
mov edx, dword [edi]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov dword [esp + 0x444], 2
call dword [edx + 4]
push esi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0x10]
mov dword [esp + 0x440], ebp
call sub.Utils50.dll_Ordinal_86
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x1000448f
push eax
push 0x47
lea ecx, [esp + 0x340]
call sym.Host71.dll_public:_void___thiscall_String::constructor_unsigned_int__struct_HINSTANCE____
mov esi, eax
push 0
push 0x28
lea ecx, [esp + 0x140]
mov dword [esp + 0x448], 3
call sym.Host71.dll_public:_void___thiscall_String::constructor_unsigned_int__struct_HINSTANCE____
mov ecx, dword [esp + 0x448]
push 0x30
push esi
push eax
mov byte [esp + 0x44c], 4
call sub.MFC71.DLL_CWnd::MessageBoxA
lea ecx, [esp + 0x138]
mov byte [esp + 0x440], 3
call sym.Host71.dll_public:_void___thiscall_String::destructor_void_
mov dword [esp + 0x440], ebp
lea ecx, [esp + 0x338]
jmp 0x10004398
test ebx, ebx
je 0x1000439d
mov eax, dword [esp + 0x450]
mov ecx, dword [esp + 0x448]
mov edx, dword [edi]
push eax
push ecx
mov ecx, edi
call dword [edx + 0xc]
jmp 0x1000439f
Function at 0x10004e50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push ebp
push edi
call dword [sym.imp.MSVCR71.dll__stricmp]
add esp, 8
test eax, eax
jne 0x10004e6c
pop edi
pop ebp
ret
push ebx
push esi
push 0x8000
push edi
mov edi, dword [sym.imp.MSVCR71.dll__open]
xor esi, esi
call edi
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
je 0x10004f76
push 0x180
push 0x8501
push ebp
call edi
add esp, 0xc
mov ebp, eax
call dword [sym.imp.MSVCR71.dll__errno]
cmp dword [eax], 0x11
jne 0x10004ebf
mov eax, dword [esp + 0x18]
push 0x180
push 0x8301
push eax
call edi
add esp, 0xc
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10004f76
push ebx
call dword [sym.imp.MSVCR71.dll__filelength]
add esp, 4
cmp eax, 0xffffffff
je 0x10004f76
test eax, eax
mov edi, eax
je 0x10004f52
push eax
call dword [sym.imp.MSVCR71.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10004f10
mov edi, 0x400
push edi
call dword [sym.imp.MSVCR71.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10004f10
pop esi
pop ebx
pop edi
mov eax, 0xc
pop ebp
ret
push ebx
call dword [sym.imp.MSVCR71.dll__eof]
add esp, 4
test eax, eax
jne 0x10004f52
mov edi, edi
push edi
push esi
push ebx
call dword [sym.imp.MSVCR71.dll__read]
add esp, 0xc
cmp eax, 0xffffffff
je 0x10004f76
push eax
push esi
push ebp
call dword [sym.imp.MSVCR71.dll__write]
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x10004f76
push ebx
call dword [sym.imp.MSVCR71.dll__eof]
add esp, 4
test eax, eax
je 0x10004f20
mov edi, dword [sym.imp.MSVCR71.dll__close]
push ebx
call edi
push ebp
call edi
add esp, 8
test esi, esi
je 0x10004f6f
push esi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
ret
call dword [sym.imp.MSVCR71.dll__errno]
mov eax, dword [eax]
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x10005200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1003a199
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [0x1003d2e4]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::StringLength]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10005840
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1003a20e
push eax
mov dword fs:[0], esp
sub esp, 0x208
push esi
mov esi, ecx
mov eax, dword [esi + 0x124]
test eax, eax
jne 0x10005876
push 1
call sym.Host71.dll_private:_void___thiscall_CDB::SetStabilityFlag_int_
mov ecx, esi
call fcn.10025ea0
push ebx
push edi
push 0
push 0x4d
lea ecx, [esp + 0x1c]
call sym.Host71.dll_public:_void___thiscall_String::constructor_unsigned_int__struct_HINSTANCE____
push eax
add esi, 0x12c
lea eax, [esp + 0x14]
push esi
push eax
mov dword [esp + 0x228], 0
call fcn.10005200
add esp, 0xc
push 0
mov ecx, eax
mov byte [esp + 0x220], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
mov edi, dword [sym.imp.MSVCR71.dll_remove]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x10]
mov ebx, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
mov dword [esp + 0x21c], 0xffffffff
call sym.Host71.dll_public:_void___thiscall_String::destructor_void_
push 0
push 0x4c
lea ecx, [esp + 0x11c]
call sym.Host71.dll_public:_void___thiscall_String::constructor_unsigned_int__struct_HINSTANCE____
push eax
lea ecx, [esp + 0x10]
push esi
push ecx
mov dword [esp + 0x228], 2
call fcn.10005200
add esp, 0xc
push 0
mov ecx, eax
mov byte [esp + 0x220], 3
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
call edi
add esp, 4
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x114]
mov dword [esp + 0x21c], 0xffffffff
call sym.Host71.dll_public:_void___thiscall_String::destructor_void_
pop edi
test ebx, ebx
pop ebx
jne 0x1000596a
test esi, esi
jne 0x1000596a
xor eax, eax
pop esi
mov ecx, dword [esp + 0x208]
mov dword fs:[0], ecx
add esp, 0x214
ret
mov ecx, dword [esp + 0x20c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x214
ret