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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d7280
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x4c
cmp eax, 0x201
push ebx
push ebp
push esi
push edi
jne 0x45fc3b
mov ecx, dword [esp + 0x78]
xor edi, edi
cmp ecx, edi
je 0x45fc3b
mov dword [esp + 0x78], 1
jmp 0x45fc58
xor edi, edi
cmp eax, 0x204
mov dword [esp + 0x78], edi
jne 0x45fc58
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x7c], 1
cmp eax, edi
jne 0x45fc5c
mov dword [esp + 0x7c], edi
cmp dword [esp + 0x74], edi
jne 0x45fc72
cmp dword [esp + 0x78], edi
jne 0x45fc72
cmp dword [esp + 0x7c], edi
je 0x4600a8
lea ecx, [esp + 0x44]
call fcn.0045c5a0
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x44]
push eax
mov dword [esp + 0x68], edi
call fcn.0045f370
mov ecx, dword [esp + 0x48]
cmp ecx, edi
jne 0x45fc9b
mov dword [esp + 0x20], edi
jmp 0x45fca8
mov eax, dword [esp + 0x4c]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x20]
xor eax, eax
cmp edx, edi
mov word [esp + 0x24], 9
mov dword [esp + 0x1c], eax
jle 0x46008a
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
jmp 0x45fccf
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + eax*4]
cmp esi, edi
je 0x460075
lea edx, [esp + 0x70]
mov dword [esp + 0x70], edi
mov ecx, dword [esi]
push edx
push esi
mov byte [esp + 0x6c], 1
call dword [ecx + 0x24]
cmp dword [esp + 0x74], edi
je 0x45fddf
mov eax, dword [esp + 0x70]
cmp eax, edi
je 0x45fde3
lea edx, [esp + 0x6c]
mov dword [esp + 0x6c], edi
mov ecx, dword [eax]
push edx
push 0x4e0fc8
push eax
call dword [ecx]
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x45fd73
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov edi, esp
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 4], ecx
xor ecx, ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ebx
call dword [edx + 0x88]
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov eax, dword [esp + 0x7c]
mov edi, esp
push eax
mov edx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 4], ecx
xor ecx, ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ebx
call dword [edx + 0x80]
mov eax, dword [esp + 0x6c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov dword [esp + 0x10], 0
lea eax, [esp + 0x70]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x68], 2
call fcn.0045beb0
test eax, eax
jge 0x45fd9f
cmp eax, 0x80004002
je 0x45fd9f
push eax
call fcn.004d2836
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45fdce
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov edi, esp
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 4], ecx
xor ecx, ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ebx
call dword [edx + 0x94]
mov eax, dword [esp + 0x10]
xor edi, edi
mov byte [esp + 0x64], 1
cmp eax, edi
je 0x45fddf
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x78], edi
je 0x45fef6
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov ecx, esp
mov eax, dword [esi]
xor edi, edi
push esi
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], edx
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], ebx
call dword [eax + 0x154]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x45fef6
mov ebx, dword [esp + 0x24]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
push eax
mov dword [edx], ebx
mov ebx, dword [esp + 0x3c]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [edx + 8], edi
mov dword [edx + 0xc], ebx
call dword [ecx + 0x84]
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x45fe57
push 0x80004003
call fcn.004d2836
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x24]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
push eax
mov dword [edx], ebx
mov ebx, dword [esp + 0x3c]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [edx + 8], edi
mov dword [edx + 0xc], ebx
call dword [ecx + 0xb0]
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x45fe92
push 0x80004003
call fcn.004d2836
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x24]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
push eax
mov dword [edx], ebx
mov ebx, dword [esp + 0x3c]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [edx + 8], edi
mov dword [edx + 0xc], ebx
call dword [ecx + 0x11c]
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x45fecd
push 0x80004003
call fcn.004d2836
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x24]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
push eax
mov dword [edx], ebx
mov ebx, dword [esp + 0x3c]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [edx + 8], edi
mov dword [edx + 0xc], ebx
call dword [ecx + 0x94]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x460064
mov edi, 9
sub esp, 0x10
mov word [esp + 0x44], di
mov ebx, dword [esp + 0x44]
mov edx, esp
mov ecx, dword [esi]
xor eax, eax
push esi
mov dword [edx], ebx
mov ebx, dword [esp + 0x4c]
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebp
call dword [ecx + 0x15c]
sub esp, 0x10
mov word [esp + 0x44], di
mov edi, dword [esp + 0x44]
mov edx, esp
mov ecx, dword [esi]
xor eax, eax
mov dword [edx], edi
push esi
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebp
call dword [ecx + 0x154]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x14]
push ecx
push 0x4e0f68
mov edx, dword [eax]
push eax
call dword [edx]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45ff9f
sub esp, 0x10
mov edx, dword [eax]
mov esi, esp
xor ecx, ecx
push eax
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebp
call dword [edx + 0x78]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x460060
sub esp, 0x10
mov edx, dword [eax]
mov esi, esp
xor ecx, ecx
push eax
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebp
call dword [edx + 0x8c]
mov eax, dword [esp + 0x70]
xor esi, esi
test eax, eax
mov word [esp + 0x34], 9
jne 0x45ffe5
push 0x80004003
call fcn.004d2836
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x34]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
push eax
mov dword [edx], edi
mov dword [edx + 4], ebx
mov dword [edx + 8], esi
mov dword [edx + 0xc], ebp
call dword [ecx + 0x94]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], 0
test eax, eax
jne 0x460020
push 0x80004003
call fcn.004d2836
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x4e0fc8
push eax
call dword [ecx]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46005c
sub esp, 0x10
mov edx, dword [eax]
mov esi, esp
xor ecx, ecx
push eax
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebp
call dword [edx + 0x160]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x30]
xor edi, edi
mov byte [esp + 0x64], 0
cmp eax, edi
je 0x460075
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x45fccb
lea ecx, [esp + 0x44]
mov dword [esp + 0x64], 3
call fcn.0045f5d0
mov eax, dword [esp + 0x48]
push eax
call fcn.004d2909
add esp, 4
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret