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

Disassembly:
push 0xffffffffffffffff
push 0x6fcb80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov ebp, ecx
xor ebx, ebx
push edi
mov eax, dword [ebp + 0x244]
push ebx
push ebx
push 0x184
push eax
mov dword [esp + 0x2c], ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x9c]
mov eax, dword [0x74289c]
cmp ecx, eax
jne 0x525c95
cmp byte [0x8337d8], bl
jne 0x525c79
mov ecx, 0x8337c8
call fcn.005c0bd0
lea esi, [ebp + 0x228]
push 0xffffffffffffffff
mov edx, 0x8337c8
mov ecx, esi
call fcn.005fa1a0
push ebx
mov ecx, esi
call fcn.006c2a7c
xor edi, edi
lea edx, [ebp + 0xa4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
cmp esi, 0xffffffff
je 0x525e4c
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
call fcn.00407e50
lea edx, [esp + 0x20]
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
call fcn.0062ef80
mov edx, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0xc]
mov dword [eax + 0xc], edx
mov dword [esp + 0x3c], ecx
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], bl
call fcn.00407e50
mov eax, dword [esp + 0x14]
lea edi, [ebp + 0x228]
push eax
lea edx, [esp + 0x34]
mov ecx, edi
call fcn.005fa1a0
mov esi, 9
add ebp, 0xc8
mov ecx, esi
call fcn.0062e7a0
cmp eax, dword [esp + 0x14]
jne 0x525dff
mov eax, dword [ebp]
cmp eax, 0xffffffff
je 0x525dff
lea edx, [esp + 0x28]
lea ecx, [esp + 0x60]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
call fcn.0062ef80
mov edx, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0xc]
mov dword [eax + 0xc], edx
mov dword [esp + 0x3c], ecx
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x7c], bl
call fcn.00407e50
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
push eax
push 0x7fd2b8
push ecx
call fcn.004197e0
add esp, 0xc
push esi
mov edx, eax
mov ecx, edi
mov byte [esp + 0x7c], 5
call fcn.005fa1a0
mov eax, dword [esp + 0x44]
mov byte [esp + 0x78], bl
cmp eax, ebx
je 0x525df3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x525dea
cmp al, 0xff
je 0x525dea
dec al
mov byte [ecx], al
jmp 0x525df3
push ecx
call fcn.00652870
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
inc esi
add ebp, 4
cmp esi, 0x24
jl 0x525d39
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x78], 0xffffffff
cmp ecx, ebx
je 0x525e38
mov al, byte [ecx - 1]
cmp al, bl
je 0x525e2e
cmp al, 0xff
je 0x525e2e
dec al
mov byte [ecx - 1], al
jmp 0x525e38
dec ecx
push ecx
call fcn.00652870
add esp, 4
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x18]
inc edi
add ecx, 4
cmp edi, 9
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
jl 0x525ca5
xor edx, edx
lea ecx, [ebp + 0x228]
mov dl, byte [ebp + 0xa0]
push edx
call fcn.006c2a7c
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret