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

Disassembly:
sub esp, 0x54
push ebx
mov eax, eax
push ecx
pop ecx
xor ebx, ebx
mov dword [esp + 4], ebx
mov ebp, ebp
push eax
push ecx
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
push eax
call fcn.10056ca0
add esp, 0x28
test eax, eax
jne 0x1005949d
xor eax, eax
pop ebx
add esp, 0x54
ret
mov dword [esp + 0x18], ebx
mov edx, edx
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x34]
push edx
push eax
lea edx, [esp + 0x24]
call fcn.10052b70
add esp, 0xc
test eax, eax
je 0x10059496
push ebp
mov bl, bl
mov ebp, dword [esp + 0x38]
mov bl, bl
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
push ebx
pop ebx
cmp ebp, ebx
mov dword [esp + 0x18], ebx
jle 0x10059791
push esi
push edi
xor eax, eax
test ecx, ecx
mov dword [esp + 0x2c], eax
jle 0x10059780
mov edi, dword [esp + 0x24]
mov ecx, eax
imul ecx, ebp
add ecx, ebx
cmp byte [ecx + edi], 1
jne 0x10059763
mov edx, edx
mov al, al
add ebx, 1
mov ebp, ebp
cmp ebx, ebp
jg 0x10059763
jmp 0x10059524
mov eax, dword [esp + 0x2c]
add eax, 0xffffffff
mov ecx, eax
mov dword [esp + 0x18], ecx
mov ch, ch
cmp ecx, 0xffffffff
jl 0x100596e6
mov esi, ecx
imul esi, ebp
mov edx, ebp
neg edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edx
lea esp, [esp]
mov eax, dword [esp + 0x2c]
add eax, 1
mov dword [esp + 0x1c], eax
mov ecx, ecx
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x1c], eax
jg 0x100596ce
mov eax, dword [esp + 0x1c]
imul eax, ebp
mov dword [esp + 0x30], eax
jmp 0x10059588
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
nop
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x3c8]
add eax, ebx
cmp ebx, eax
mov edx, ebx
jge 0x100595fd
jmp 0x100595a0
cmp edx, ebp
jge 0x100595fd
mov ebp, ebp
cmp ecx, dword [esp + 0x1c]
mov eax, ecx
jg 0x100595e6
mov edi, dword [esp + 0x24]
lea ecx, [esi + edx]
add ecx, edi
jmp 0x100595c4
mov edi, dword [esp + 0x24]
test eax, eax
jl 0x100595d7
cmp eax, dword [esp + 0x28]
jge 0x100595d7
cmp byte [ecx], 1
je 0x100596e6
add eax, 1
add ecx, ebp
cmp eax, dword [esp + 0x1c]
jle 0x100595c0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x3c8]
mov edi, dword [esp + 0x24]
add edx, 1
add eax, ebx
cmp edx, eax
jl 0x100595a0
mov eax, dword [esp + 0x68]
mov edx, ecx
sub ecx, dword [eax + 0x3c4]
cmp dword [esp + 0x18], ecx
jle 0x10059655
mov ecx, esi
test edx, edx
jl 0x10059655
mov esi, esi
mov eax, dword [esp + 0x20]
cmp eax, ebx
jg 0x1005963c
nop
test eax, eax
jl 0x10059635
cmp eax, ebp
jge 0x10059635
lea esi, [ecx + eax]
cmp byte [esi + edi], 1
je 0x100596c2
add eax, 1
cmp eax, ebx
jle 0x10059620
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x68]
sub eax, dword [esi + 0x3c4]
add ecx, dword [esp + 0x38]
sub edx, 1
cmp edx, eax
jg 0x10059611
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, esi
nop
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x3c4]
add eax, esi
cmp edx, eax
jge 0x100596f5
cmp edx, dword [esp + 0x28]
jge 0x100596f5
mov eax, eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
jg 0x1005969c
test eax, eax
jl 0x10059695
cmp eax, ebp
jge 0x10059695
lea esi, [ecx + eax]
cmp byte [esi + edi], 1
je 0x100596a7
add eax, 1
cmp eax, ebx
jle 0x10059684
mov esi, dword [esp + 0x1c]
add edx, 1
add ecx, ebp
jmp 0x10059660
mov ch, ch
mov eax, dword [esp + 0x1c]
add dword [esp + 0x30], ebp
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jle 0x10059580
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ebx, ebx
sub ecx, 1
add esi, edx
cmp ecx, 0xffffffff
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], esi
jge 0x10059550
push eax
pop eax
add ebx, 1
cmp ebx, ebp
jle 0x10059520
jmp 0x10059763
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x1005970b
mov dword [esp + 0x18], 0
push ebx
pop ebx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
sub esi, eax
mov ecx, ebx
sub ecx, dword [esp + 0x20]
push esi
push ecx
lea edi, [eax + 1]
mov eax, dword [esp + 0x70]
push edx
call fcn.100548d0
add esp, 0xc
push eax
pop eax
mov edx, dword [esp + 0x20]
cmp edx, ebx
jge 0x10059763
mov esi, esi
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
jge 0x1005975c
imul eax, ebp
add eax, edx
add eax, dword [esp + 0x24]
mov ecx, esi
lea ebx, [ebx]
mov byte [eax], 0
mov eax, eax
add eax, ebp
sub ecx, 1
jne 0x10059750
add edx, 1
cmp edx, ebx
jl 0x10059733
mov eax, dword [esp + 0x2c]
add eax, 1
mov dword [esp + 0x2c], eax
mov eax, eax
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov ebx, dword [esp + 0x20]
jl 0x100594f5
add ebx, 1
cmp ebx, ebp
mov dword [esp + 0x20], ebx
jl 0x100594e7
pop edi
pop esi
mov eax, dword [esp + 0x1c]
push eax
call fcn.101174df
add esp, 4
push ebx
pop ebx
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret