Function at 0x43d970
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46d866
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x48c9dc]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48c9dc]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x8d0c
lea eax, [esp + 0x34]
push str.ORCAP
push eax
mov byte [esp + 0x64], 1
call fcn.00440990
add esp, 0xc
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ebx, dword [sym.imp.MFC80.DLL_Ordinal_2322]
push eax
lea ecx, [esp + 0x18]
push ecx
call ebx
add esp, 8
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
mov ebp, dword [sym.imp.MSVCR80.dll__strdup]
push eax
call ebp
mov edx, dword [0x48cc64]
mov edi, eax
push edi
push 0x47633c
push edx
call dword [sym.imp.MSVCR80.dll_fprintf]
push edi
push 0x47633c
call dword [sym.imp.MSVCR80.dll_printf]
add esp, 0x18
mov ecx, esi
call fcn.00439fd0
test al, al
jne 0x43dacf
mov eax, dword [0x48cb90]
push eax
lea ecx, [esp + 0x18]
push ecx
call ebx
mov edx, dword [0x48cc68]
add esp, 8
push 0
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call ebp
add esp, 4
push eax
call fcn.00439c80
mov eax, dword [0x48cb8c]
push eax
lea ecx, [esp + 0x24]
mov esi, 1
add dword [0x48cc68], esi
push ecx
call ebx
mov edx, dword [0x48cc68]
add esp, 0x14
push 0
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call ebp
add esp, 4
push eax
call fcn.00439c80
add esp, 0xc
add dword [0x48cc68], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov eax, esi
jmp 0x43dfe8
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esi + 0x120]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x64], 2
call dword [sym.imp.MFC80.DLL_Ordinal_297]
call fcn.00416520
add esp, 8
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, esi
call fcn.0043a150
test al, al
jne 0x43db99
mov edx, dword [0x48cb94]
push edx
lea eax, [esp + 0x18]
push eax
call ebx
mov ecx, dword [0x48cc68]
add esp, 8
push 0
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call ebp
add esp, 4
push eax
call fcn.00439c80
mov edx, dword [0x48cb8c]
push edx
lea eax, [esp + 0x24]
mov esi, 1
add dword [0x48cc68], esi
push eax
call ebx
mov ecx, dword [0x48cc68]
add esp, 0x14
push 0
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call ebp
add esp, 4
push eax
call fcn.00439c80
add dword [0x48cc68], esi
add esp, 0xc
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
jmp 0x43daaf
mov ecx, esi
call fcn.0043a260
test al, al
jne 0x43dbaf
mov edx, dword [0x48cb98]
jmp 0x43db1c
lea edi, [esi + 0x124]
push 0x476d80
mov ecx, edi
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.MSVCR80.dll_fopen]
add esp, 8
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x43dbdf
mov edx, dword [0x48cb88]
jmp 0x43db1c
push 0x18
call sub.MFC80.DLL_Ordinal_762
mov ebp, eax
add esp, 4
mov dword [esp + 0x20], ebp
test ebp, ebp
mov byte [esp + 0x58], 3
je 0x43dc0f
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call dword [sym.imp.MFC80.DLL_Ordinal_297]
mov ecx, ebp
call fcn.004623c0
jmp 0x43dc11
xor eax, eax
push 0x4760d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 2
mov dword [0x48cc60], eax
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, dword [0x48cc60]
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x5c], 4
call fcn.00462270
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x5c], 5
call fcn.0043a440
push 0x38
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x58], 6
je 0x43dc7e
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, eax
call fcn.00407410
jmp 0x43dc80
xor eax, eax
mov ecx, eax
mov byte [esp + 0x58], 5
mov dword [esi + 0x60], eax
call fcn.00404170
push 0x24
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x58], 7
je 0x43dcb3
mov edx, dword [esi + 0x4c]
push edx
mov ecx, eax
call fcn.00404c50
jmp 0x43dcb5
xor eax, eax
mov ecx, eax
mov byte [esp + 0x58], 5
mov dword [esi + 0x64], eax
call fcn.00404170
push 0x28
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x58], 8
je 0x43dced
mov ecx, dword [esp + 0x60]
mov edx, dword [esi + 0x4c]
push ecx
push edx
mov ecx, eax
call fcn.00405070
jmp 0x43dcef
xor eax, eax
mov ecx, eax
mov byte [esp + 0x58], 5
mov dword [esi + 0x68], eax
call fcn.00404170
push 0x38
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x58], 9
je 0x43dd22
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, eax
call fcn.00408450
jmp 0x43dd24
xor eax, eax
mov ecx, eax
mov byte [esp + 0x58], 5
mov dword [esi + 0x70], eax
call fcn.00404170
push 0x24
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x58], 0xa
je 0x43dd57
mov edx, dword [esi + 0x4c]
push edx
mov ecx, eax
call fcn.004055e0
jmp 0x43dd59
xor eax, eax
mov ecx, eax
mov byte [esp + 0x58], 5
mov dword [esi + 0x6c], eax
call fcn.00404170
push 0x38
call sub.MFC80.DLL_Ordinal_762
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov byte [esp + 0x58], 0xb
je 0x43dda0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call dword [sym.imp.MFC80.DLL_Ordinal_297]
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, edi
call fcn.004083e0
jmp 0x43dda2
xor eax, eax
mov ecx, eax
mov byte [esp + 0x58], 5
mov dword [esi + 0x74], eax
call fcn.00404170
push 0x1c
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x58], 0xc
je 0x43ddd5
mov edx, dword [esi + 0x4c]
push edx
mov ecx, eax
call fcn.00405660
jmp 0x43ddd7
xor eax, eax
mov ecx, eax
mov byte [esp + 0x58], 5
mov dword [esi + 0x78], eax
call fcn.00404170
push 0x1c
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x58], 0xd
je 0x43de0a
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, eax
call fcn.00405890
jmp 0x43de0c
xor eax, eax
mov ecx, eax
mov byte [esp + 0x58], 5
mov dword [esi + 0x7c], eax
call fcn.00404170
push 0x1c
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x58], 0xe
je 0x43de3f
mov edx, dword [esi + 0x4c]
push edx
mov ecx, eax
call fcn.00405b40
jmp 0x43de41
xor eax, eax
mov ecx, eax
mov byte [esp + 0x58], 5
mov dword [esi + 0x80], eax
call fcn.00404170
push 0x1c
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x58], 0xf
je 0x43de77
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, eax
call fcn.00405f10
jmp 0x43de79
xor eax, eax
mov ecx, eax
mov byte [esp + 0x58], 5
mov dword [esi + 0x84], eax
call fcn.00404170
mov ecx, esi
call fcn.0043c650
test eax, eax
mov ecx, esi
jne 0x43df4f
call fcn.0043a390
mov edx, dword [0x48cb8c]
push edx
lea eax, [esp + 0x18]
push eax
call ebx
mov ecx, dword [0x48cc68]
add esp, 8
push 0
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 4
push eax
call fcn.00439c80
add dword [0x48cc68], 1
mov eax, dword [esi]
mov edi, dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0xc
test eax, eax
je 0x43df04
push eax
call edi
add esp, 4
lea ecx, [esi + 0x11c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x2c]
push edx
call edi
add esp, 4
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov eax, 1
jmp 0x43dfe8
call fcn.0043a390
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 4
call dword [sym.imp.MFC80.DLL_Ordinal_578]
call fcn.0040b1c0
push 0x8d08
lea eax, [esp + 0x34]
push str.ORCAP
push eax
call fcn.00440990
add esp, 0xc
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [esp + 0x18]
push ecx
call ebx
add esp, 8
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
push eax
call fcn.00439d30
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0xc
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0043f646
add esp, 0x48
ret 4