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

Disassembly:
sub esp, 0x74
mov eax, dword [esp + 0x80]
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov eax, dword [eax + 0x48]
test eax, eax
mov dword [esp + 4], eax
je 0x450166
cmp word [eax + 0x48], 8
je 0x450166
mov eax, dword [eax]
test eax, eax
mov dword [esp + 4], eax
jne 0x450155
mov ecx, dword [eax]
push ebx
push ebp
push esi
test ecx, ecx
push edi
jne 0x450181
cmp word [eax + 0x48], 8
je 0x450181
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x74
ret
mov ebp, dword [eax + 0xb8]
xor eax, eax
mov ebx, dword [esp + 0x88]
mov ecx, dword [ebp]
mov edi, dword [ebp + 4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x8c]
mov dword [ebp], 0
lea eax, [edi + 1]
push eax
push ebx
call fcn.00408a60
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x30], esi
jne 0x4501d3
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x74
ret
mov byte [esp + 0x10], 0
mov eax, dword [ebp + 0x10]
sub eax, 0
je 0x4503fa
sub eax, 0x63
je 0x4501fc
dec eax
je 0x4503fa
mov dword [ebp + 0x10], 0x64
jmp 0x4503fa
mov eax, dword [ebp]
lea ecx, [eax + edi + 1]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jae 0x450223
mov edx, dword [ebx + 4]
lea eax, [edi + 1]
push eax
push ebp
push edx
call fcn.0045aec0
add esp, 0xc
test al, al
je 0x4504de
mov eax, dword [ebx + 0x4808]
mov dword [esp + 0x3c], 0x14
push 3
lea ecx, [eax + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], edx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x15]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x14]
push ecx
push ebx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
call fcn.00412d50
mov al, byte [esp + 0x1c]
add esp, 0xc
cmp al, 2
je 0x450380
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4502b5
mov dword [esp + 0x1c], 0
jmp 0x450380
mov eax, dword [ebp + 4]
test eax, eax
je 0x4502e6
mov eax, dword [esp + 0x14]
mov edx, dword [ebp]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp + 4]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp + 4]
mov dword [eax + 0x7c], edx
mov ecx, dword [ebp]
mov dword [eax + 0x84], ecx
mov edx, dword [ebp + 4]
mov dword [eax + 0x80], edx
jmp 0x4502ea
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x14], eax
je 0x450305
cmp word [eax + 0x48], 8
je 0x450315
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4502f4
cmp word [eax + 0x48], 8
je 0x450315
cmp dword [eax], 0
je 0x4504f6
mov ebp, dword [eax + 0xb8]
xor eax, eax
mov ecx, dword [ebp]
mov edi, dword [ebp + 4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x8c]
mov edi, esi
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x8c]
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebp], 0
cmp ecx, eax
jae 0x450379
mov ecx, dword [ebx + 4]
push eax
push ebp
push ecx
call fcn.0045aec0
add esp, 0xc
test al, al
je 0x4504de
mov edi, dword [esp + 0x8c]
mov eax, dword [ebx + 0x4808]
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], 0x15
push 3
mov edx, dword [eax + 0x10]
lea ecx, [eax + 8]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0x10]
mov cl, byte [esp + 0x14]
lea eax, [esp + 0x1c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x40]
lea edx, [esp + 0x16]
push eax
push ebx
mov dword [esp + 0x64], esi
mov byte [esp + 0x6c], cl
mov dword [esp + 0x70], 0
mov dword [esp + 0x78], edx
call fcn.00412d50
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov byte [esi + ecx], 0
mov dword [ebp + 0x10], 0x63
mov eax, dword [ebp + 0x10]
cmp eax, 0x64
je 0x450500
test eax, eax
je 0x450500
lea ecx, [edi + 1]
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x4808]
mov dword [esp + 0x3c], 0x1d
mov edi, 1
lea ecx, [eax + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
mov word [esp + 0x58], 2
mov dword [esp + 0x5c], 0
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x2630]
lea eax, [esp + 0x20]
push edx
push eax
lea edx, [esp + 0x44]
push ecx
push edx
push ebx
call fcn.004598b0
mov eax, dword [esp + 0x34]
add esp, 0x14
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x4504a8
mov dword [ebp + 0x10], 0x64
mov edi, dword [ebp]
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
add edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x8c]
add ecx, eax
mov dword [ebp], ecx
jmp 0x4501d3
push esi
mov dword [ebp], 0
push ebx
mov dword [ebp + 0xc], 0
call fcn.0040f330
add esp, 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x74
ret
mov eax, dword [ebp + 4]
test eax, eax
je 0x45052f
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp + 4]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp + 4]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp]
mov dword [eax + 0x84], edx
mov ecx, dword [ebp + 4]
mov dword [eax + 0x80], ecx
push esi
push ebx
call fcn.0040f330
add esp, 8
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret