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

Disassembly:
sub esp, 0x58
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
mov edi, dword [esp + 0x6c]
lea eax, [esp + 0x28]
push eax
push ebx
xor esi, esi
push edi
mov dword [ebp], esi
call fcn.10055b80
add esp, 0xc
test eax, eax
jne 0x1005818d
cmp dword [esp + 0x28], esi
jne 0x10057ff1
lea ecx, [esp + 0x2c]
push ecx
push edi
call fcn.10045e40
add esp, 8
test eax, eax
jne 0x1005818d
cmp dword [esp + 0x2c], esi
je 0x10057ffb
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x34]
push eax
push edi
call fcn.10045ab0
add esp, 0xc
test eax, eax
jne 0x1005818d
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x10057ff1
jmp 0x10057fb0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
push esi
push edx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x1005818d
mov eax, dword [esp + 0x34]
push ebp
push ebx
push eax
call fcn.10057f30
add esp, 0xc
test eax, eax
jne 0x1005818d
cmp dword [ebp], 0
jne 0x10057ff1
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x10057fb0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret
lea ecx, [esp + 0x38]
push ecx
push edi
call fcn.100c3f70
add esp, 8
test eax, eax
jne 0x1005818d
cmp dword [esp + 0x38], esi
je 0x10057ff1
lea edx, [esp + 0x24]
push edx
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
xor ebx, ebx
call fcn.10045be0
add esp, 8
test eax, eax
jne 0x1005818d
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.100c44a0
add esp, 8
test eax, eax
jne 0x1005818d
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
call fcn.10051d60
add esp, 0xc
test eax, eax
jne 0x1005818d
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jle 0x10058124
mov ebp, dword [esp + 0x3c]
lea ebx, [ebx]
lea eax, [esp + 0x1c]
push eax
push esi
push ebp
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x1005818d
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.100c95b0
add esp, 0x1c
test eax, eax
jne 0x1005818d
cmp dword [esp + 0x40], 1
jne 0x10058113
cmp dword [esp + 0x24], 0x12
jne 0x1005810f
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x48]
push eax
push ecx
push edi
call fcn.1003d0b0
add esp, 0x10
test eax, eax
jne 0x1005818d
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10058104
inc dword [esp + 0x10]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10058113
inc ebx
jmp 0x10058113
inc dword [esp + 0x14]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x10058080
mov ebp, dword [esp + 0x74]
cmp dword [esp + 0x24], 0x12
jne 0x10058140
cmp ebx, 1
jl 0x10058137
cmp dword [esp + 0x10], 1
jge 0x10058153
mov dword [ebp], 1
jmp 0x1005815d
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x4c]
jge 0x10058153
mov dword [ebp], 1
jmp 0x1005815d
cmp dword [ebp], 0
je 0x10057ff1
lea eax, [esp + 0x50]
push eax
call fcn.100206a0
add esp, 4
test eax, eax
jne 0x1005818d
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x70]
push ecx
push 0x4e98
push edx
call fcn.100809a0
add esp, 0xc
test eax, eax
je 0x10057ff1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret