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

Disassembly:
mov eax, 0x1006cb5a
call fcn.00b8e447
sub esp, 0x68
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp byte [esi + 0x110], 0
jne 0xb52697
mov ecx, dword [esi + 0x24]
cmp ecx, edi
jne 0xb5232c
cmp byte [esi + 0x48], 0
jne 0xb5229f
lea eax, [ebp - 0x1c]
push 0x10076070
push eax
mov dword [ebp - 0x1c], 1
call fcn.00b8e4ab
cmp dword [esi + 0x38], edi
je 0xb522b9
lea eax, [ebp - 0x1c]
push 0x10076070
push eax
mov dword [ebp - 0x1c], 1
call fcn.00b8e4ab
lea ecx, [ebp - 0x74]
call fcn.00b5283a
push 1
lea eax, [ebp - 0x74]
pop ebx
lea ecx, [esi + 0x1c]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], 0x6f10701
mov dword [ebp - 0x58], edi
call fcn.00b528ee
push ebx
lea ecx, [esi + 0x58]
pop eax
push eax
push ebx
pop eax
push eax
call fcn.00b41d82
push edi
lea ecx, [esi + 0x80]
call fcn.00b50ccd
push edi
lea ecx, [esi + 0x94]
call fcn.00b50ccd
mov dword [ebp - 0x74], 0x10072a6c
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], ebx
call fcn.00b3ab67
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00b3ab3e
jmp 0xb5262c
cmp ecx, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
jle 0xb523ce
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 0x10]
cmp dword [esi + 0x38], 0
mov eax, dword [eax + edx*4]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov dword [ebp - 0x20], edi
jne 0xb523ad
dec ecx
cmp edx, ecx
jge 0xb5236d
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x14]
add eax, ebx
lea ecx, [esi + 0x6c]
push eax
call fcn.00b41d82
jmp 0xb52387
lea edi, [esi + 0x94]
push 0
mov ecx, edi
call fcn.00b3aca1
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov dword [eax], ecx
push 1
pop eax
cmp edi, eax
mov dword [ebp - 0x1c], eax
jbe 0xb523ad
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
lea ecx, [esi + 0x94]
push eax
call fcn.00b50ccd
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jb 0xb52391
add dword [ebp - 0x18], ebx
add dword [ebp - 0x14], edi
push edi
push ebx
lea ecx, [esi + 0x58]
call fcn.00b41d82
mov ecx, dword [esi + 0x24]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jl 0xb5233d
xor edi, edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0xb52474
and dword [ebp - 0x10], 0
test eax, eax
jle 0xb52438
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
add eax, dword [esi + 0x3c]
mov ebx, dword [eax]
test ebx, ebx
jbe 0xb523fe
mov edx, dword [esi + 0x64]
add ecx, dword [edx]
add edx, 8
dec ebx
jne 0xb523f6
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
add edx, ecx
xor ebx, ebx
test edi, edi
jbe 0xb5241a
mov ecx, dword [esi + 0x64]
add ecx, 4
add ebx, dword [ecx]
add ecx, 8
dec edi
jne 0xb52412
mov eax, dword [eax + 0xc]
lea ecx, [esi + 0x6c]
add eax, ebx
push eax
push edx
call fcn.00b41d82
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x1c], 0x10
cmp eax, dword [esi + 0x38]
jl 0xb523e5
xor edi, edi
cmp dword [ebp - 0x14], edi
jle 0xb52474
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0xb5245a
mov eax, dword [esi + 0x78]
add eax, 4
cmp dword [eax], edi
je 0xb5245d
inc edx
add eax, 8
cmp edx, ecx
jl 0xb5244e
or edx, reloc.MSVCRT.dll_strncpy
cmp edx, reloc.MSVCRT.dll_strncpy
jne 0xb5246e
push edi
lea ecx, [esi + 0x94]
call fcn.00b50ccd
inc edi
cmp edi, dword [ebp - 0x14]
jl 0xb5243f
xor edi, edi
cmp dword [ebp - 0x18], edi
jle 0xb524ad
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0xb52493
mov eax, dword [esi + 0x78]
cmp dword [eax], edi
je 0xb52496
inc edx
add eax, 8
cmp edx, ecx
jl 0xb52487
or edx, reloc.MSVCRT.dll_strncpy
cmp edx, reloc.MSVCRT.dll_strncpy
jne 0xb524a7
push edi
lea ecx, [esi + 0x80]
call fcn.00b50ccd
inc edi
cmp edi, dword [ebp - 0x18]
jl 0xb5247b
cmp dword [esi + 0x88], 0
jne 0xb524cb
lea eax, [ebp - 0x1c]
push 0x10076070
push eax
mov dword [ebp - 0x1c], 1
call fcn.00b8e4ab
mov eax, dword [esi + 0x8c]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [esi + 0x58]
call fcn.00b51e3a
mov ecx, dword [ebp - 0x1c]
xor edi, edi
test ecx, ecx
jbe 0xb524fb
mov eax, dword [esi + 0x64]
add eax, 4
add edi, dword [eax]
add eax, 8
dec ecx
jne 0xb524f3
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0xb52516
mov eax, dword [esi + 0x78]
add eax, 4
cmp dword [eax], edi
je 0xb52525
inc edx
add eax, 8
cmp edx, ecx
jl 0xb5250a
or eax, reloc.MSVCRT.dll_strncpy
test eax, eax
jl 0xb52529
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + eax*8]
jmp 0xb524d3
mov eax, edx
jmp 0xb52519
mov ecx, dword [esi + 0x9c]
xor edx, edx
test ecx, ecx
jle 0xb5256b
mov eax, dword [esi + 0xa0]
cmp dword [eax], edi
je 0xb52549
inc edx
add eax, 4
cmp edx, ecx
jl 0xb5253b
jmp 0xb5256b
mov eax, dword [esi + 0x94]
lea ebx, [esi + 0x94]
push 1
push edx
mov ecx, ebx
call dword [eax + 4]
push 0
mov ecx, ebx
call fcn.00b3aca1
mov eax, dword [ebx + 0xc]
mov dword [eax], edi
cmp byte [esi + 0x48], 0
je 0xb5262c
mov edi, dword [esi + 0x9c]
xor ebx, ebx
test edi, edi
mov dword [ebp - 0x1c], edi
jle 0xb525a0
mov ecx, dword [esi + 0xa0]
mov eax, dword [ebp - 0x18]
add eax, ebx
push dword [ecx + ebx*4]
lea ecx, [esi + 0x6c]
push eax
call fcn.00b41d82
inc ebx
cmp ebx, edi
jl 0xb52584
lea ecx, [esi + 0x94]
call fcn.00b3ab67
xor ebx, ebx
test edi, edi
jle 0xb5262c
mov edi, 0x10072a6c
push 4
lea ecx, [ebp - 0x4c]
call fcn.00b35708
mov dword [ebp - 0x4c], edi
push 1
and dword [ebp - 0x30], 0
pop eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x34], 0x6f10701
call fcn.00b528ee
push 1
lea ecx, [esi + 0x58]
pop eax
push eax
push eax
call fcn.00b41d82
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x94]
add eax, ebx
push eax
call fcn.00b50ccd
mov dword [ebp - 0x4c], edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 3
call fcn.00b3ab67
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00b3ab3e
inc ebx
cmp ebx, dword [ebp - 0x1c]
jl 0xb525b6
mov ebx, dword [esi + 0x24]
dec ebx
test ebx, ebx
jl 0xb52650
lea edi, [esi + 0xfc]
mov eax, dword [esi + 0x28]
mov ecx, edi
mov eax, dword [eax + ebx*4]
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.00b41d82
dec ebx
jns 0xb5263a
push 0xa8
call fcn.00b3acf0
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov dword [ebp - 4], 4
je 0xb52676
lea eax, [esi + 0x58]
push eax
call fcn.00b68261
jmp 0xb52678
xor eax, eax
or dword [ebp - 4], reloc.MSVCRT.dll_strncpy
lea ecx, [esi + 0xa8]
push ecx
mov ecx, eax
mov dword [esi + 0xf8], eax
call fcn.00b6849e
mov byte [esi + 0x110], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret