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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55dbd4
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x21c
push ebx
push esi
push edi
mov eax, dword [0x5be9c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x90]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x108]
add eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx]
test eax, eax
jne 0x4508f3
mov eax, 0x80004005
jmp 0x4512d0
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x78]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x450923
mov eax, dword [ebp - 0x1c]
jmp 0x4512d0
mov edx, dword [ebp + 8]
sub edx, 4
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
jl 0x45096f
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x80]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [edx + 0x24]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx + 0x3c]
and edx, 0x10
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
jmp 0x4509b3
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
jl 0x4509af
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x90]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x110]
mov eax, dword [edx]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x114]
mov al, byte [edx + 0x1c]
mov byte [ebp - 0x15], al
jmp 0x4509b3
mov byte [ebp - 0x15], 0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 3]
test edx, edx
je 0x450c5b
lea ecx, [ebp - 0x28]
call fcn.0040a490
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
jl 0x450a17
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x8c]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
add edx, 0x10
push edx
lea ecx, [ebp - 0x28]
call fcn.0040a730
jmp 0x450a7d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
jl 0x450a7d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x7c]
call fcn.00446540
mov dword [ebp - 0x1d8], eax
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a730
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x124]
push edx
call fcn.004b0c50
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp + 0x14]
push ecx
push 1
movzx edx, byte [ebp - 0x15]
push edx
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x78]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov edx, dword [eax]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
je 0x450af0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xd0], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.004b0c50
add esp, 4
mov eax, dword [ebp - 0xd0]
jmp 0x4512d0
movzx edx, byte [ebp - 0x15]
test edx, edx
jne 0x450c2a
push 0x20
call fcn.004b0c15
add esp, 4
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
je 0x450b88
mov ecx, dword [ebp - 0xd8]
call fcn.00415c40
mov ecx, dword [ebp - 0xd8]
mov dword [ecx], vtable.IInStream.0
mov edx, dword [ebp - 0xd8]
add edx, 4
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x130]
mov dword [eax], 0
mov ecx, dword [ebp - 0xd8]
mov dword [ecx], vtable.CBufInStream.0
mov edx, dword [ebp - 0xd8]
add edx, 0x1c
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
mov dword [eax], 0
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x1e8], ecx
jmp 0x450b92
mov dword [ebp - 0x1e8], 0
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x34], 0
je 0x450bc1
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
push 0
mov ecx, dword [ebp - 0x34]
add ecx, 0x1c
call fcn.0043af30
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x138]
mov dword [ecx], edx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 0
je 0x450c2a
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0xdc], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp - 0x13c]
push edx
call fcn.004b0c50
add esp, 4
mov eax, dword [ebp - 0xdc]
jmp 0x4512d0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0xe8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
call fcn.00446540
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x140], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x140]
mov eax, dword [edx]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
movzx edx, byte [ebp - 0x15]
push edx
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x78]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov edx, dword [eax]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x148]
push eax
call fcn.004b0c50
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x450cf9
mov eax, dword [ebp - 0x38]
jmp 0x4512d0
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x450d08
xor eax, eax
jmp 0x4512d0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x99]
test eax, eax
je 0x450e00
cmp dword [ebp + 0x14], 0
je 0x450d2d
cmp dword [ebp + 0x14], 1
je 0x450d2d
xor eax, eax
jmp 0x4512d0
push 8
call fcn.004b0c15
add esp, 4
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0xf0], ecx
cmp dword [ebp - 0xf0], 0
je 0x450d93
mov edx, dword [ebp - 0xf0]
mov dword [edx], vtable.ISequentialInStream.0
mov eax, dword [ebp - 0xf0]
add eax, 4
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ecx], 0
mov edx, dword [ebp - 0xf0]
mov dword [edx], vtable.CStdInFileStream.0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x1f8], eax
jmp 0x450d9d
mov dword [ebp - 0x1f8], 0
mov ecx, dword [ebp - 0x1f8]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x40], 0
je 0x450dcc
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
call ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x150]
mov dword [eax], ecx
cmp dword [ebp - 0x3c], 0
je 0x450dfb
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp 0x4512a0
push 0x58
call fcn.004b0c15
add esp, 4
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0xf8], 0
je 0x450e48
mov ecx, dword [ebp - 0xf8]
call fcn.0044d3b0
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x204], ecx
jmp 0x450e52
mov dword [ebp - 0x204], 0
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0xf4], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x48], 0
je 0x450e85
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
call edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x9c]
mov byte [eax + 0x48], dl
mov eax, dword [ebp + 8]
sub eax, 4
je 0x450eae
mov ecx, dword [ebp + 8]
add ecx, 0x1c
mov dword [ebp - 0x208], ecx
jmp 0x450eb8
mov dword [ebp - 0x208], 0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x208]
mov dword [edx + 0x4c], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x50], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
call fcn.004464e0
mov dword [ebp - 0x20c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 8]
add ecx, 0x3c
mov dword [ebp - 0x154], ecx
mov ecx, dword [ebp - 0x154]
call fcn.00408370
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov dword [edx + eax*4], ecx
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 4]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp - 0x154]
mov dword [eax + 4], edx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x48
call fcn.00407390
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x160], ecx
mov edx, dword [ebp - 0x160]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
jne 0x450fa2
mov ecx, dword [ebp - 0x160]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x168], edx
cmp dword [ebp - 0x168], 0
jne 0x450fa2
mov dword [ebp - 0x214], 0
jmp 0x450fac
mov dword [ebp - 0x214], 1
movzx eax, byte [ebp - 0x214]
test eax, eax
je 0x451064
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x16c], ecx
push 0x2200000
push 3
push 1
mov edx, dword [ebp - 0x16c]
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x18
call fcn.0044cfd0
mov byte [ebp - 0x215], al
movzx eax, byte [ebp - 0x215]
test eax, eax
jne 0x45105f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x78]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x78]
mov eax, dword [edx]
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x170], ecx
mov edx, dword [ebp - 0x170]
push edx
call fcn.004b0c50
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 0
je 0x451054
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0xfc]
jmp 0x4512d0
jmp 0x451116
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x98]
mov byte [ebp - 0x175], al
movzx ecx, byte [ebp - 0x175]
push ecx
mov edx, dword [ebp - 0x174]
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x18
call fcn.0044d020
mov byte [ebp - 0x21d], al
movzx eax, byte [ebp - 0x21d]
test eax, eax
jne 0x451116
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x78]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x78]
mov eax, dword [edx]
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x17c], ecx
mov edx, dword [ebp - 0x17c]
push edx
call fcn.004b0c50
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 0
je 0x45110b
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x100]
jmp 0x4512d0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x9c]
test edx, edx
je 0x4511f6
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0xc
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x4511f6
cmp dword [ebp - 0x78], 1
jbe 0x4511f6
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x9c], edx
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.004521e0
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [ebp - 0x1bc]
jne 0x4511f6
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xbc]
mov dword [ecx + 0x38], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0xa0], 0
je 0x451251
mov dword [ebp - 0xc0], 0x5c9974
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x1c0], ecx
mov edx, dword [ebp - 0x1c0]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa0]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov byte [ecx + eax], 1
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x1c4], ecx
mov edx, dword [ebp - 0x1c4]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1c8]
mov dword [ecx], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
push ecx
call fcn.004b0c50
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 0
je 0x4512a0
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
xor eax, eax
jmp 0x4512d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10