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

Disassembly:
push edi
push ebp
sub esp, 0x14
mov ebp, ecx
mov ecx, dword [ebp + 0x14]
mov edi, dword [ecx + 4]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x525ef0
test edx, edx
jne 0x525ecb
xor edx, edx
test edi, edi
jle 0x525cb2
mov dword [esp + 4], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov esi, edx
mov ebx, ecx
mov eax, dword [ebp + 4]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x14], eax
mov edi, dword [ebp + 0x2c]
mov dword [ebx + 0x10], edi
mov edi, dword [ebx + 8]
mov eax, dword [ebp + 0x40]
mov eax, dword [eax + 4]
test eax, eax
je 0x525b31
cmp edi, dword [eax + 0xc]
je 0x525f78
mov eax, dword [eax + 4]
test eax, eax
jne 0x525b21
xor eax, eax
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov edi, dword [ebp + 0x20]
lea edx, [edi + 1]
push 0x80
mov ecx, ebx
call fcn.004f6404
mov eax, dword [0x661060]
mov dword [esp + 8], eax
test eax, eax
je 0x525f3c
mov eax, dword [0x64ea24]
mov edx, dword [0x661064]
cmp eax, 0xffffffff
jne 0x525b8f
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
mov dword [0x64ea24], edi
mov edx, dword [esp + 8]
mov dword [0x661064], edx
jmp 0x525bbf
cmp edx, dword [0x661068]
jb 0x525bbf
mov ecx, dword [esp]
call fcn.00525f80
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
mov dword [0x64ea24], edi
mov edx, dword [0x661060]
mov dword [0x661064], edx
mov eax, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebx + 8]
mov dword [edx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edx + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edx + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [edx + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [edx + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [edx + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [edx + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [edx + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [edx + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [edx + 0x40], eax
mov eax, dword [ebx + 0x44]
mov dword [edx + 0x44], eax
mov eax, dword [ebx + 0x48]
mov dword [edx + 0x48], eax
mov eax, dword [ebx + 0x4c]
mov dword [edx + 0x4c], eax
mov eax, dword [ebx + 0x50]
mov dword [edx + 0x50], eax
mov eax, dword [ebx + 0x54]
mov dword [edx + 0x54], eax
mov eax, dword [ebx + 0x58]
mov dword [edx + 0x58], eax
mov eax, dword [ebx + 0x5c]
mov dword [edx + 0x5c], eax
mov eax, dword [ebx + 0x60]
mov dword [edx + 0x60], eax
mov eax, dword [ebx + 0x64]
mov dword [edx + 0x64], eax
mov eax, dword [ebx + 0x68]
mov dword [edx + 0x68], eax
mov eax, dword [ebx + 0x6c]
mov dword [edx + 0x6c], eax
mov eax, dword [ebx + 0x70]
mov dword [edx + 0x70], eax
mov eax, dword [ebx + 0x74]
mov dword [edx + 0x74], eax
mov edi, dword [ebx + 0x78]
mov dword [edx + 0x78], edi
mov eax, dword [ebx + 0x7c]
mov dword [edx + 0x7c], eax
mov edi, dword [0x661064]
add edi, 0x80
mov dword [0x661064], edi
inc dword [ebp + 0x20]
add ebx, 0x80
inc esi
mov eax, dword [esp + 4]
cmp esi, eax
jl 0x525b02
mov edi, eax
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
mov ecx, eax
call fcn.00525f80
mov dword [ebp + 0x20], 0
mov ecx, dword [ebp + 0x14]
xor eax, eax
test edi, edi
jle 0x525e89
mov dword [esp + 4], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov ebx, eax
mov esi, ecx
mov edx, dword [ebp + 4]
mov dword [esi + 0x18], edx
mov edx, dword [ebp + 0x28]
mov dword [esi + 0x14], edx
mov edi, dword [ebp + 0x2c]
mov dword [esi + 0x10], edi
mov edi, dword [esi + 8]
mov edx, dword [ebp + 0x40]
mov edx, dword [edx + 4]
test edx, edx
je 0x525d0c
cmp edi, dword [edx + 0xc]
je 0x525f34
mov edx, dword [edx + 4]
test edx, edx
jne 0x525cfc
xor edx, edx
mov dword [esi + 0x38], edx
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], edi
mov edi, dword [ebp + 0x20]
lea edx, [edi + 1]
push 0x80
mov ecx, esi
call fcn.004f6404
mov edx, dword [0x661060]
mov dword [esp], edx
test edx, edx
je 0x525ef9
mov eax, dword [0x64ea24]
mov edx, dword [0x661064]
cmp eax, 0xffffffff
jne 0x525d6a
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
mov dword [0x64ea24], edi
mov edx, dword [esp]
mov dword [0x661064], edx
jmp 0x525d9b
cmp edx, dword [0x661068]
jb 0x525d9b
mov ecx, dword [esp + 8]
call fcn.00525f80
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
mov dword [0x64ea24], edi
mov edx, dword [0x661060]
mov dword [0x661064], edx
mov edi, dword [esi]
mov dword [edx], edi
mov edi, dword [esi + 4]
mov dword [edx + 4], edi
mov edi, dword [esi + 8]
mov dword [edx + 8], edi
mov edi, dword [esi + 0xc]
mov dword [edx + 0xc], edi
mov edi, dword [esi + 0x10]
mov dword [edx + 0x10], edi
mov edi, dword [esi + 0x14]
mov dword [edx + 0x14], edi
mov edi, dword [esi + 0x18]
mov dword [edx + 0x18], edi
mov edi, dword [esi + 0x1c]
mov dword [edx + 0x1c], edi
mov edi, dword [esi + 0x20]
mov dword [edx + 0x20], edi
mov edi, dword [esi + 0x24]
mov dword [edx + 0x24], edi
mov edi, dword [esi + 0x28]
mov dword [edx + 0x28], edi
mov edi, dword [esi + 0x2c]
mov dword [edx + 0x2c], edi
mov edi, dword [esi + 0x30]
mov dword [edx + 0x30], edi
mov edi, dword [esi + 0x34]
mov dword [edx + 0x34], edi
mov edi, dword [esi + 0x38]
mov dword [edx + 0x38], edi
mov edi, dword [esi + 0x3c]
mov dword [edx + 0x3c], edi
mov edi, dword [esi + 0x40]
mov dword [edx + 0x40], edi
mov edi, dword [esi + 0x44]
mov dword [edx + 0x44], edi
mov edi, dword [esi + 0x48]
mov dword [edx + 0x48], edi
mov edi, dword [esi + 0x4c]
mov dword [edx + 0x4c], edi
mov edi, dword [esi + 0x50]
mov dword [edx + 0x50], edi
mov edi, dword [esi + 0x54]
mov dword [edx + 0x54], edi
mov edi, dword [esi + 0x58]
mov dword [edx + 0x58], edi
mov edi, dword [esi + 0x5c]
mov dword [edx + 0x5c], edi
mov edi, dword [esi + 0x60]
mov dword [edx + 0x60], edi
mov edi, dword [esi + 0x64]
mov dword [edx + 0x64], edi
mov edi, dword [esi + 0x68]
mov dword [edx + 0x68], edi
mov edi, dword [esi + 0x6c]
mov dword [edx + 0x6c], edi
mov edi, dword [esi + 0x70]
mov dword [edx + 0x70], edi
mov edi, dword [esi + 0x74]
mov dword [edx + 0x74], edi
mov edi, dword [esi + 0x78]
mov dword [edx + 0x78], edi
mov edi, dword [esi + 0x7c]
mov dword [edx + 0x7c], edi
mov edi, dword [0x661064]
add edi, 0x80
mov dword [0x661064], edi
inc dword [ebp + 0x20]
add esi, 0x80
inc ebx
mov edx, dword [esp + 4]
cmp ebx, edx
jl 0x525cdd
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov ecx, 0x74bf60
push 1
push 0x14
call fcn.004e2a54
test eax, eax
je 0x525eaf
mov edx, dword [ebp + 4]
mov edi, dword [ebp + 0x2c]
mov dword [eax], 0x6250a8
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edi
jmp 0x525eb1
xor eax, eax
push eax
mov ecx, dword [ebp + 0x38]
call fcn.004e7568
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x28], eax
mov ecx, dword [ebp + 0xc]
call fcn.00525f80
mov eax, dword [ebp + 0xc]
mov dword [0x64ea24], 0xffffffff
test eax, eax
je 0x525ee1
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x40]
call fcn.004e7674
inc dword [ebp + 4]
add esp, 0x14
pop ebp
pop edi
ret
mov ecx, 0x3e00
call fcn.004dbf60
mov dword [esp], eax
mov edx, eax
mov dword [0x661060], edx
mov dword [0x661064], edx
mov eax, 0xffffffff
mov dword [0x64ea24], 0xffffffff
lea ecx, [edx + 0x3d80]
mov dword [0x661068], ecx
jmp 0x525d46
mov edx, dword [edx + 0x10]
jmp 0x525d0e
mov ecx, 0x3e00
call fcn.004dbf60
mov dword [esp + 8], eax
mov edx, eax
mov dword [0x661060], edx
mov dword [0x661064], edx
mov eax, 0xffffffff
mov dword [0x64ea24], 0xffffffff
lea ecx, [edx + 0x3d80]
mov dword [0x661068], ecx
jmp 0x525b6a
mov eax, dword [eax + 0x10]
jmp 0x525b33