Function at 0x446ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1d0
push esi
mov esi, dword [esp + 0x1dc]
test esi, esi
je 0x44750a
mov eax, dword [esp + 0x1e0]
test eax, eax
je 0x44750a
push ebx
push ebp
push 0
push 0
push 0
call fcn.00419aa0
mov ebp, dword [esp + 0x1ec]
add esp, 0xc
mov ebx, 1
push ebx
push 0
push 0
push ebp
mov dword [esp + 0x28], eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x446f80
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x530474
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x18], 0x535cf0
mov dword [esp + 0x1c], 0xc3
call fcn.0041ce50
add esp, 0xc
pop ebp
pop ebx
xor al, al
pop esi
add esp, 0x1d0
ret
push edi
lea ecx, [esp + 0x1c]
push ecx
mov edi, 4
push edi
lea edx, [esp + 0x28]
push edx
push ebp
mov dword [esp + 0x30], 0x4d535953
call fcn.00419bb0
add esp, 0x10
test al, al
jne 0x446fdd
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x14], 0xd1
push 0x530474
push 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x535cf0
call fcn.0041ce50
add esp, 0xc
pop edi
pop ebp
pop ebx
xor al, al
pop esi
add esp, 0x1d0
ret
lea ecx, [esp + 0x1c]
push ecx
push edi
lea edx, [esp + 0x2c]
push edx
push ebp
mov dword [esp + 0x34], 0
call fcn.00419bb0
add esp, 0x10
test al, al
jne 0x44700d
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x14], 0xdb
jmp 0x446fb4
mov eax, dword [esp + 0x1c]
push 0
push 2
lea edx, [esp + 0x20]
mov byte [esp + 0x20], ah
mov byte [esp + 0x21], al
mov ecx, dword [esp + 0x20]
push edx
push ebp
mov dword [esp + 0x28], ecx
call fcn.00419bb0
add esp, 0x10
test al, al
jne 0x44704a
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x14], 0xe5
jmp 0x446fb4
lea ecx, [esi + 4]
mov dword [esp + 0x30], ecx
lea edx, [esi + 8]
mov dword [esp + 0x38], edx
lea eax, [esi + 9]
mov dword [esp + 0x40], eax
lea ecx, [esi + 0xa]
mov dword [esp + 0x48], ecx
lea edx, [esi + 0xc]
mov dword [esp + 0x50], edx
lea eax, [esi + 0x10]
mov dword [esp + 0x58], eax
lea ecx, [esi + 0x14]
mov dword [esp + 0x60], ecx
lea edx, [esi + 0x18]
mov dword [esp + 0x68], edx
lea eax, [esi + 0x74]
mov dword [esp + 0x70], eax
lea ecx, [esi + 0x75]
mov dword [esp + 0x78], ecx
lea edx, [esi + 0x1c]
mov dword [esp + 0x80], edx
lea eax, [esi + 0x20]
mov dword [esp + 0x88], eax
lea ecx, [esi + 0x34]
mov dword [esp + 0x90], ecx
lea edx, [esi + 0x38]
mov dword [esp + 0x98], edx
lea eax, [esi + 0x44]
mov dword [esp + 0xa0], eax
lea ecx, [esi + 0x48]
lea edx, [esi + 0x49]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb0], edx
lea eax, [esi + 0x54]
mov dword [esp + 0xb8], eax
lea ecx, [esi + 0x55]
lea edx, [esi + 0x56]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc8], edx
lea eax, [esi + 0x4c]
lea ecx, [esi + 0x50]
lea edx, [esi + 0x57]
mov dword [esp + 0xd0], eax
lea eax, [esi + 0x58]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe0], edx
lea ecx, [esi + 0x59]
lea edx, [esi + 0x5a]
mov dword [esp + 0xe8], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], 2
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], edi
mov dword [esp + 0x8c], 0x14
mov dword [esp + 0x94], edi
mov dword [esp + 0x9c], 0xc
mov dword [esp + 0xa4], edi
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd4], edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], ebx
lea eax, [esi + 0x5c]
mov dword [esp + 0x100], eax
lea ecx, [esi + 0x78]
mov dword [esp + 0x108], ecx
lea edx, [esi + 0x7c]
mov dword [esp + 0x110], edx
lea eax, [esi + 0x80]
mov dword [esp + 0x118], eax
lea ecx, [esi + 0x81]
mov dword [esp + 0x120], ecx
lea edx, [esi + 0x82]
mov dword [esp + 0x128], edx
lea eax, [esi + 0x84]
mov dword [esp + 0x130], eax
lea ecx, [esi + 0x88]
mov dword [esp + 0x138], ecx
lea edx, [esi + 0x89]
mov dword [esp + 0x140], edx
lea eax, [esi + 0x8a]
mov dword [esp + 0x148], eax
lea ecx, [esi + 0x8b]
mov dword [esp + 0x150], ecx
lea edx, [esi + 0x8c]
mov dword [esp + 0x158], edx
lea eax, [esi + 0x90]
lea ecx, [esi + 0x91]
lea edx, [esi + 0x92]
mov dword [esp + 0x160], eax
mov dword [esp + 0x168], ecx
mov dword [esp + 0x170], edx
lea eax, [esi + 0x93]
lea ecx, [esi + 0x94]
lea edx, [esi + 0x95]
mov dword [esp + 0x178], eax
mov dword [esp + 0x180], ecx
mov dword [esp + 0x188], edx
lea eax, [esi + 0x96]
lea ecx, [esi + 0x97]
lea edx, [esi + 0x98]
mov dword [esp + 0x190], eax
mov dword [esp + 0x198], ecx
mov dword [esp + 0x1a0], edx
lea eax, [esi + 0x99]
lea ecx, [esi + 0x9a]
lea edx, [esi + 0x9b]
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b8], edx
lea eax, [esi + 0x9c]
lea ecx, [esi + 0x9d]
lea edx, [esi + 0x9e]
mov dword [esp + 0x104], 0x18
mov dword [esp + 0x10c], edi
mov dword [esp + 0x114], edi
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x134], edi
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x154], ebx
mov dword [esp + 0x15c], edi
mov dword [esp + 0x164], ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x174], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x184], ebx
mov dword [esp + 0x18c], ebx
mov dword [esp + 0x194], ebx
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x1a4], ebx
mov dword [esp + 0x1ac], ebx
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], ebx
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], ebx
mov dword [esp + 0x1d0], edx
mov dword [esp + 0x1d4], ebx
add esi, 0x9f
push 0
push 0
push 0
mov dword [esp + 0x1e4], esi
mov dword [esp + 0x1e8], ebx
call fcn.00419aa0
add esp, 0xc
xor esi, esi
mov dword [esp + 0x1c], eax
jmp 0x447420
mov ecx, dword [esp + esi*8 + 0x2c]
mov edx, dword [esp + esi*8 + 0x28]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
push ebp
call fcn.00419bb0
add esp, 0x10
test al, al
je 0x44747f
inc esi
cmp esi, 0x37
jb 0x447420
mov eax, dword [esp + 0x1c]
push 0
push 2
lea edx, [esp + 0x20]
mov byte [esp + 0x20], ah
mov byte [esp + 0x21], al
mov ecx, dword [esp + 0x20]
push edx
push ebp
mov dword [esp + 0x28], ecx
call fcn.00419bb0
add esp, 0x10
test al, al
jne 0x447492
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x14], 0x106
jmp 0x446fb4
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x14], 0xfb
jmp 0x446fb4
mov ecx, dword [esp + 0x1ec]
push ebp
call fcn.00439810
test al, al
jne 0x4474bc
push 0x530474
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0x10e
push ecx
jmp 0x446fc0
mov esi, dword [esp + 0x1f0]
test esi, esi
je 0x4474fd
push ebx
push 0
push 0
push ebp
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4474f7
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x530474
push 0
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], 0x11c
push edx
jmp 0x446fc0
sub eax, dword [esp + 0x10]
mov dword [esi], eax
pop edi
pop ebp
mov al, bl
pop ebx
pop esi
add esp, 0x1d0
ret
push 0x530474
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0x10], 0x535cf0
mov dword [esp + 0x14], 0xb2
call fcn.0041ce50
add esp, 0xc
xor al, al
pop esi
add esp, 0x1d0
ret