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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x64]
mov eax, dword [esi + 0x44]
shl eax, 2
push eax
push edi
call fcn.00408a60
xor ebx, ebx
add esp, 8
cmp eax, ebx
mov dword [esi + 0x50], eax
jne 0x4572f2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
mov esi, dword [esi + 0x48]
cmp esi, ebx
je 0x457539
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x64]
xor eax, eax
mov dword [ecx], ebx
mov ax, word [esi + 0x4a]
add eax, 0xffffff94
cmp eax, 8
ja case.0x457315.109
jmp dword [eax*4 + 0x4575a0]
mov ebx, dword [esi + 0x98]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esi + 0xa4]
xor edx, edx
jmp 0x457380
mov eax, dword [esi + 0x98]
xor ecx, ecx
xor edx, edx
jmp 0x45737c
lea ebp, [esi + 0x78]
push 0x34
jmp 0x45734c
lea ebp, [esi + 0x78]
push 0x32
push ebp
push edi
call fcn.00433a30
add esp, 0xc
test eax, eax
je 0x45757b
mov eax, dword [esi + 0x98]
mov ecx, ebp
xor edx, edx
jmp 0x45737c
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x80]
lea edx, [esi + 0xc0]
mov dword [esp + 0x10], ebx
mov ebp, dword [edi + 0x4808]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x19
lea ebx, [ebp + 8]
mov dword [esp + 0x20], ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x68]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x2c], ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x30], ebx
mov ebx, dword [esi + 4]
mov dword [esp + 0x34], ebx
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov bp, word [esi + 0x4a]
mov word [esp + 0x40], bp
cmp word [esi + 0x48], 8
jne 0x4573f7
mov edx, dword [edi + 0x24fc]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], 2
jmp 0x457411
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x84]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], ebx
lea edx, [esp + 0x18]
push 3
push edx
push edi
call fcn.00412d50
add esp, 0xc
cmp eax, ebx
jne 0x457546
xor eax, eax
mov ax, word [esi + 0x48]
dec eax
je 0x45743c
sub eax, 0x5f
je 0x45743c
sub eax, 0x10
jne 0x4574a3
mov al, byte [esi + 0x4c]
lea ecx, [esi + 0x4c]
cmp al, bl
jbe 0x4574a3
mov eax, dword [edi + 0x4808]
mov dword [esp + 0x18], 0x3f
push 3
lea edx, [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x68]
mov edx, dword [edx]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 6
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0x20
mov eax, dword [eax + 0x10]
push ecx
push edi
mov dword [esp + 0x48], eax
call fcn.00412d50
add esp, 0xc
cmp eax, ebx
jne 0x457555
mov ax, word [esi + 0x4a]
cmp ax, 0x6c
je 0x4574b3
cmp ax, 0x6e
jne 0x457524
mov eax, dword [edi + 0x4808]
mov dword [esp + 0x18], 0x1a
push 3
lea edx, [eax + 8]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x28], ecx
mov ecx, dword [edx]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x30], edx
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0x80]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0xb0]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
call fcn.00412d50
add esp, 0xc
cmp eax, ebx
jne 0x457564
mov ecx, dword [esp + 0x64]
mov esi, dword [esi]
add ecx, 4
cmp esi, ebx
mov dword [esp + 0x64], ecx
jne 0x457301
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret
mov edx, dword [edi + 0x4808]
push eax
push 2
mov eax, dword [edx + 0x10]
push eax
jmp 0x457571
mov ecx, dword [edi + 0x4808]
push eax
push 2
mov edx, dword [ecx + 0x10]
push edx
jmp 0x457571
push eax
mov eax, dword [edi + 0x4808]
push 2
mov ecx, dword [eax + 0x10]
push ecx
push ebx
push edi
call fcn.004114c0
add esp, 0x14
mov esi, dword [esp + 0x68]
mov eax, dword [esi + 0x50]
cmp eax, ebx
je 0x457590
push eax
push edi
call fcn.0040f330
add esp, 8
mov dword [esi + 0x50], ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret