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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57bfea
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5b107c]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x5b107c]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x234], 0
mov dword [esp + 0x1c], ebx
je 0x5269ee
cmp dword [ebx + 0x23c], 0
je 0x52645e
mov eax, dword [0x680dc8]
test eax, eax
jne 0x52640a
mov eax, 0x6815d0
movzx ecx, word [ebx + 0x16c3]
movzx edx, word [ebx + 0x16c1]
push ecx
movzx ecx, word [ebx + 0x16bf]
push edx
movzx edx, word [ebx + 0x16bd]
push ecx
movzx ecx, word [ebx + 0x16b9]
push edx
movzx edx, word [ebx + 0x16b7]
push ecx
push edx
push eax
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov esi, dword [ebx + 0x23c]
add esp, 0x20
lea edi, [esp + 0xa4]
call fcn.00434900
mov eax, dword [ebx + 0x238]
test eax, eax
je 0x5269ee
add eax, 0x214
push eax
call fcn.00459a10
mov eax, dword [ebx + 0x238]
call fcn.00525fb0
cmp word [ebx + 0x263], 0
jne 0x5264ad
add ebx, 0x244
mov esi, 5
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
add ebx, 4
dec esi
jne 0x526497
jmp 0x5269ee
mov eax, dword [ebx + 0x16c8]
mov dword [esp + 0x20], eax
cmp eax, dword [ebx + 0x16cc]
jge 0x526979
imul eax, eax, 0x34
lea esi, [eax + ebx + 0x267]
mov dword [esp + 0x14], esi
jmp 0x5264e4
mov esi, dword [esp + 0x14]
push 0x154
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
xor eax, eax
mov dword [esp + 0xf8], eax
cmp edi, eax
je 0x52653a
lea ebx, [eax + 7]
call fcn.00459880
push 0x425d50
push 0x425d40
push 0xa
push 0x20
lea ecx, [edi + 0x14]
mov byte [esp + 0x108], 1
push ecx
mov dword [edi], vtable.cRITEMEx.0
call fcn.00576426
mov ebx, edi
mov dword [esp + 0x18], ebx
jmp 0x526540
mov dword [esp + 0x18], eax
mov ebx, eax
mov dword [esp + 0xf8], 0xffffffff
cmp dword [esi], 1
jne 0x52655d
mov eax, dword [0x65fff4]
lea edi, [esi + 4]
call fcn.00527010
mov eax, dword [esi]
cmp eax, 3
jg 0x5265ca
lea esi, [eax + 0xdc]
mov ecx, 0x67cb38
lea edi, [ebx + 0x14]
call fcn.0056e550
test eax, eax
je 0x5265ab
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 0x10]
mov esi, edi
mov edi, dword [eax]
lea ebx, [esp + 0x74]
mov dword [esp + 0x74], edx
mov dword [esp + 0x80], ecx
call fcn.0042a9c0
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 4]
mov eax, dword [edx]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
push 0x594460
push eax
call edi
mov esi, dword [esp + 0x1c]
add esp, 8
jmp 0x52664b
cmp eax, 0xa
jg 0x526630
mov esi, 0xe0
mov ecx, 0x67cb38
lea edi, [ebx + 0x14]
call fcn.0056e550
test eax, eax
je 0x526612
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x10]
mov esi, edi
mov edi, dword [eax]
lea ebx, [esp + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], edx
call fcn.0042a9c0
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ebx + 4]
mov eax, dword [edx]
push ecx
push str.____2d
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov esi, dword [esp + 0x20]
jmp 0x526642
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
push eax
push str.____2d
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
cmp word [esi + 0x26], 0x40
jne 0x5266b6
lea eax, [ebx + 0x54]
mov esi, 0xe4
mov ecx, 0x67cb38
mov dword [esp + 0x10], eax
call fcn.0056e550
test eax, eax
je 0x5266a1
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov esi, dword [esp + 0x10]
mov edi, dword [eax]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x10]
lea ebx, [esp + 0x54]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], edx
call fcn.0042a9c0
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
push 0x58bec8
push ecx
call edi
mov esi, dword [esp + 0x1c]
add esp, 8
cmp word [esi + 0x26], 0x41
jne 0x526730
lea edx, [ebx + 0x54]
mov esi, 0xe4
mov ecx, 0x67cb38
mov dword [esp + 0x10], edx
call fcn.0056e550
test eax, eax
je 0x52671b
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov esi, dword [esp + 0x10]
mov edi, dword [eax]
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x98], edx
mov edx, dword [eax + 0x10]
lea ebx, [esp + 0x94]
mov dword [esp + 0x94], ecx
mov dword [esp + 0xa0], edx
call fcn.0042a9c0
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
push 0x58bec8
push ecx
call edi
mov esi, dword [esp + 0x1c]
add esp, 8
mov edx, 0x80
cmp word [esi + 0x26], dx
jne 0x52679d
lea eax, [ebx + 0x54]
lea esi, [edx + 0x65]
mov ecx, 0x67cb38
mov dword [esp + 0x10], eax
call fcn.0056e550
test eax, eax
je 0x526788
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov esi, dword [esp + 0x10]
mov edi, dword [eax]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x10]
lea ebx, [esp + 0x34]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], edx
call fcn.0042a9c0
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
push 0x58bec8
push ecx
call edi
mov esi, dword [esp + 0x1c]
add esp, 8
mov edx, 0x81
cmp word [esi + 0x26], dx
jne 0x52680a
lea eax, [ebx + 0x54]
lea esi, [edx + 0x64]
mov ecx, 0x67cb38
mov dword [esp + 0x10], eax
call fcn.0056e550
test eax, eax
je 0x5267f5
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov esi, dword [esp + 0x10]
mov edi, dword [eax]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x10]
lea ebx, [esp + 0x44]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], edx
call fcn.0042a9c0
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
push 0x58bec8
push ecx
call edi
mov esi, dword [esp + 0x1c]
add esp, 8
cmp word [esi + 0x26], 0
jne 0x526871
lea edx, [ebx + 0x54]
mov esi, 0xe1
mov ecx, 0x67cb38
mov dword [esp + 0x10], edx
call fcn.0056e550
test eax, eax
je 0x526860
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov esi, dword [esp + 0x10]
mov edi, dword [eax]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x10]
lea ebx, [esp + 0x64]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x70], edx
call fcn.0042a9c0
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
push 0x58bec8
push ecx
call edi
add esp, 8
lea edx, [ebx + 0x34]
mov esi, 0xe1
mov ecx, 0x67cb38
mov dword [esp + 0x10], edx
call fcn.0056e550
test eax, eax
je 0x5268cf
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov esi, dword [esp + 0x10]
mov edi, dword [eax]
mov dword [esp + 0x8c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], edx
mov edx, dword [eax + 0x10]
lea ebx, [esp + 0x84]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], edx
call fcn.0042a9c0
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
push 0x5861b8
push ecx
call edi
mov edx, dword [ebx + 8]
mov esi, dword [esp + 0x1c]
mov dword [edx + 0xc], 0xff00ff00
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0xc]
lea eax, [esi + 4]
push eax
push edx
call edi
mov eax, dword [esi + 0x28]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x10]
push eax
push 0x59446c
push edx
call edi
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x14]
add esp, 0x1c
push eax
push 0x59446c
push edx
call edi
mov eax, dword [ebx + 8]
mov dword [eax + 0x10], 0xffff1493
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x18]
add esp, 0xc
lea ecx, [esi + 0x15]
push ecx
push eax
call edi
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + 0x238]
add esp, 8
push ecx
add eax, 0x214
mov edi, ebx
call fcn.004599b0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
inc eax
add esi, 0x34
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], esi
cmp eax, dword [ecx + 0x16cc]
jl 0x5264e0
mov ebx, ecx
movzx ecx, word [ebx + 0x263]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
lea edx, [esi + esi*4]
add edx, edx
add edx, edx
sub ecx, edx
mov dword [esp + 0x10], ecx
lea edi, [ebx + 0x244]
mov dword [esp + 0x1c], 5
lea esp, [esp]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0
call edx
add edi, 4
dec dword [esp + 0x1c]
jne 0x5269b0
cmp dword [esp + 0x10], 0
je 0x5269cc
inc esi
test esi, esi
jle 0x5269e7
lea edi, [ebx + 0x244]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
add edi, 4
dec esi
jne 0x5269d6
mov ecx, ebx
call fcn.00526a60
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.005762ee
mov esp, ebp
pop ebp
ret