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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x485030
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x4a89e8]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push esi
push edi
mov eax, dword [0x4a89e8]
xor eax, esp
push eax
lea eax, [esp + 0x4e8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax]
cmp ecx, dword [0x48d59c]
mov dword [esp + 0x28], edi
jne 0x414a90
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov ecx, dword [esi + 4]
push ecx
push edi
call fcn.00413220
add esp, 8
cmp eax, 6
jne 0x414aa7
jmp 0x415117
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c]
xor edx, edx
xor ebx, ebx
cmp ecx, dword [0x48d598]
mov dword [esp + 0x24], ecx
setle dl
mov dword [esp + 0x14], ebx
mov dword [esi + 0x1c], edx
mov cl, byte [eax + 4]
cmp cl, byte [0x48d5ae]
jne 0x414f65
push edi
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
mov dword [esp + 0x1c], 2
call fcn.00413750
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xc4]
mov dword [esp + 0x4f4], ebx
call dword [0x48a32c]
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x8c]
cmp eax, 0x190
mov byte [esp + 0x4f0], 1
jl 0x414b84
mov dl, byte [ebx + 4]
mov byte [esp + 0x20], dl
mov eax, dword [esp + 0x20]
push eax
call fcn.00412410
mov ecx, dword [0x48d5b8]
add esp, 4
test dword [ebx + 0x44], ecx
mov dword [esp + 0x14], eax
je 0x414b67
lea ecx, [esp + 0xc0]
call dword [0x48a288]
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x8c]
xor edx, edx
cmp eax, dword [0x48ceac]
setne dl
add edx, 7
mov dword [esp + 0x14], edx
jmp 0x414b6d
mov eax, dword [ebx + 0x8c]
cmp eax, dword [0x48ceac]
je 0x414f37
mov eax, dword [edi]
mov edx, dword [eax + 0x74]
push ebx
jmp 0x414f33
cmp dword [esp + 0x90], 0x10
mov eax, dword [esp + 0x7c]
jae 0x414b96
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x94]
push ecx
push eax
call fcn.00418cb3
add esp, 8
test eax, eax
jne 0x414f11
cmp dword [esp + 0x98], eax
jle 0x414f11
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x8c]
lea edx, [ecx - 0xc8]
cmp edx, 0x63
ja 0x414ecd
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xb4]
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
call edx
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 4]
mov byte [ecx + 0x24], al
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 4]
mov ecx, dword [0x48d5b4]
test dword [eax + 0x44], ecx
jne 0x414e75
mov eax, dword [eax]
mov edx, dword [edi]
mov edx, dword [edx + 0x9c]
push eax
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call edx
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x94]
mov ecx, edi
mov byte [esp + 0x4f4], 2
call eax
lea ecx, [esp + 0x18]
lea ebx, [esi + 0x30]
push ecx
mov ecx, ebx
call fcn.00413b40
lea edx, [esp + 0x44]
push edx
mov ecx, ebx
call fcn.00413b70
push eax
lea ecx, [esp + 0x1c]
call fcn.004132d0
test al, al
je 0x414e64
jmp 0x414c80
lea ecx, [esp + 0x18]
call fcn.00413890
mov ecx, dword [0x48a278]
mov edx, dword [ecx]
push edx
add eax, 4
push 0
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00438c20
add esp, 0x10
cmp dword [esp + 0x70], 0
mov byte [esp + 0x4f0], 3
jbe 0x414cc6
lea ecx, [esp + 0x18]
call fcn.00413890
cmp dword [eax + 0x94], 0
je 0x414cd8
mov ecx, dword [esi + 4]
mov edx, dword [0x48d5d8]
test dword [ecx + 0x44], edx
je 0x414e23
lea ecx, [esp + 0x18]
call fcn.00413890
mov edi, dword [eax + 0x98]
lea ecx, [esp + 0x18]
call fcn.00413890
mov ebx, dword [eax + 0x98]
lea ecx, [esp + 0x18]
call fcn.00413890
mov eax, dword [eax + 0x20]
mov ecx, dword [0x48d5b4]
neg eax
sbb eax, eax
and eax, ecx
or ebx, ecx
lea ecx, [esp + 0x18]
or edi, eax
call fcn.00413890
mov eax, dword [eax + 0x20]
mov ecx, dword [0x48d5b8]
neg eax
sbb eax, eax
and eax, ecx
or ebx, ecx
lea ecx, [esp + 0x18]
or edi, eax
call fcn.00413890
mov eax, dword [eax + 0x94]
mov ecx, dword [0x48d5bc]
neg eax
sbb eax, eax
and eax, ecx
or ebx, ecx
lea ecx, [esp + 0x18]
or edi, eax
call fcn.00413890
cmp dword [eax + 0x94], 0
mov ecx, dword [0x48d5d8]
je 0x414d71
mov eax, dword [esi + 4]
test dword [eax + 0x44], ecx
je 0x414d71
mov eax, ecx
jmp 0x414d73
xor eax, eax
or ebx, ecx
mov ecx, dword [esp + 0x34]
or edi, eax
mov dword [esp + 0x40], ecx
lea eax, [esp + 0x3c]
lea edx, [esp + 0x30]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x40], edx
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x3c]
call fcn.00413bc0
mov ecx, eax
call fcn.00407d70
movzx eax, al
test eax, eax
mov dword [esp + 0x2c], eax
je 0x414dbc
mov eax, dword [0x48d594]
mov dword [esp + 0x20], eax
jmp 0x414dc4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
movzx ecx, byte [0x48d5ae]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
mov edx, dword [edx]
mov edx, dword [edx + 0x80]
push ecx
push ebx
push edi
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
call edx
lea ecx, [esp + 0x18]
call fcn.00413890
cmp dword [eax + 0x20], 0
jne 0x414e1f
lea ecx, [esp + 0x18]
call fcn.00413890
cmp dword [eax + 0x94], 0
jne 0x414e1f
cmp dword [esp + 0x2c], 0
je 0x414e1f
mov dword [esi + 0x18], 1
mov edi, dword [esp + 0x28]
push 0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x20]
call fcn.004138c0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4f0], 2
call dword [0x48a314]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esi + 0x30]
call fcn.00413b70
push eax
lea ecx, [esp + 0x1c]
call fcn.004132d0
test al, al
jne 0x414c80
lea ecx, [esp + 0x30]
mov byte [esp + 0x4f0], 1
call fcn.004145c0
push edi
mov ecx, esi
call fcn.00414600
mov ecx, dword [esi + 4]
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x78]
push eax
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0xc0]
call dword [0x48a288]
mov ecx, dword [esi + 4]
mov eax, dword [edi]
mov edx, dword [eax + 0xa8]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esi + 4]
push eax
call fcn.00412ba0
mov ecx, dword [esi + 4]
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
jmp 0x414f37
mov edx, dword [0x48d5b8]
test dword [eax + 0x44], edx
je 0x414ef7
cmp ecx, dword [0x48ceac]
jne 0x414ef7
lea ecx, [esp + 0xc0]
call dword [0x48a288]
mov dword [esp + 0x14], 7
jmp 0x414f37
mov al, byte [eax + 4]
mov byte [esp + 0x24], al
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00412410
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x414f37
mov edx, dword [edi]
mov eax, dword [esi + 4]
mov edx, dword [edx + 0xa8]
push eax
mov ecx, edi
call edx
mov ecx, dword [esi + 4]
push eax
call fcn.00412ba0
mov eax, dword [edi]
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0xc0]
mov byte [esp + 0x4f0], 0
call fcn.00412f70
lea ecx, [esp + 0x78]
mov dword [esp + 0x4f0], 0xffffffff
call dword [0x48a314]
jmp 0x415113
mov dl, byte [0x48d5af]
cmp cl, dl
je 0x414f7b
cmp cl, byte [0x48d5ad]
jne 0x415113
xor ebx, ebx
cmp cl, dl
sete bl
push eax
mov ecx, esi
lea ebx, [ebx + ebx + 1]
mov dword [esp + 0x18], ebx
call fcn.00413aa0
mov ebx, dword [esi + 4]
cmp dword [ebx + 0x8c], 0x190
jl 0x414fc1
movzx eax, byte [ebx + 4]
push eax
call fcn.00412410
mov edx, dword [edi]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x74]
push ebx
mov ecx, edi
call eax
jmp 0x415113
mov cl, byte [0x48d5ae]
mov byte [ebx + 4], cl
mov edx, dword [edi]
mov eax, dword [esi + 4]
mov edx, dword [edx + 0xa8]
push eax
mov ecx, edi
call edx
mov ecx, dword [esi + 4]
push eax
call fcn.00412ba0
mov eax, dword [esi + 4]
mov eax, dword [eax]
push 1
push eax
lea ecx, [esp + 0x9c]
call fcn.00447b80
mov eax, dword [esp + 0xa0]
mov ebx, 0x10
cmp dword [esp + 0xb4], ebx
mov dword [esp + 0x4f0], 4
jae 0x41501e
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x60]
call dword [0x48a320]
cmp dword [esp + 0x74], ebx
mov eax, dword [esp + 0x60]
jae 0x415037
lea eax, [esp + 0x60]
push 0
push 1
push eax
call fcn.00418bce
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x24], ebx
test ebx, ebx
mov byte [esp + 0x4f0], 6
je 0x41509b
push 0x400
lea eax, [esp + 0xe0]
push eax
push ebx
call fcn.004646d1
add esp, 0xc
test eax, eax
je 0x41509b
push eax
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esi + 0x20]
call fcn.0043b420
push 0x400
lea edx, [esp + 0xe0]
push edx
push ebx
call fcn.004646d1
add esp, 0xc
test eax, eax
jne 0x415070
lea ecx, [esp + 0x94]
call fcn.00447980
test ebx, ebx
je 0x4150b4
push ebx
call fcn.00418363
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4f0], 4
call dword [0x48a314]
lea ecx, [esp + 0x94]
mov dword [esp + 0x4f0], 0xffffffff
call fcn.00447b20
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
push edi
mov ecx, esi
call fcn.00414600
mov ecx, dword [esi + 4]
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esi + 4]
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4d0]
xor ecx, esp
call fcn.0047ff5a
mov esp, ebp
pop ebp
ret 4