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

Disassembly:
push 0xffffffffffffffff
push 0x5baa90
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x7c]
xor ebx, ebx
cmp eax, ebx
jne 0x5251de
mov eax, dword [esi + 0x20]
push ebx
push ebx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.004863fb
mov ecx, dword [esi + 0x6c]
mov edi, dword [esp + 0x50]
push ecx
push eax
push edi
lea ecx, [esp + 0x3c]
call fcn.004dc160
mov esi, dword [esi + 0x60]
mov eax, dword [esi - 0xc]
mov edx, dword [edi]
mov edx, dword [edx + 0x68]
push 0x810
lea ecx, [esp + 0x58]
push ecx
push eax
push esi
mov ecx, edi
mov dword [esp + 0x58], ebx
call edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xffffffff
call fcn.004dc1a0
jmp 0x525278
mov edi, dword [esp + 0x5c]
mov eax, dword [esi + 0x60]
sub edi, dword [esp + 0x54]
sub eax, 0x10
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
call fcn.004087a0
add eax, 0x10
add esp, 4
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x7c]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x48], 1
mov dword [esp + 0x14], eax
jg 0x525294
mov eax, dword [esi + 0x60]
mov eax, dword [eax - 0xc]
lea ecx, [esi + 0x60]
push 0
push ecx
mov edx, esp
mov dword [esp + 0x34], esp
sub eax, ebx
push eax
push ebx
push edx
call fcn.00407b80
mov edx, dword [esp + 0x58]
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
mov ecx, esi
call fcn.00524ca0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x525278
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x14
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x52534a
cmp eax, dword [esi + 0x7c]
jge 0x52534a
mov ecx, dword [esi + 0x78]
mov edi, dword [ecx + eax*4]
mov edx, dword [edi + 8]
mov ebp, dword [edi]
lea eax, [ecx + eax*4]
mov eax, dword [edx - 0xc]
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x10]
mov dword [esp + 0x2c], eax
call fcn.0055bdb0
push 0
mov ecx, ebp
sub ecx, ebx
push ecx
mov edx, esp
mov dword [esp + 0x34], esp
push ecx
push ebx
lea ebx, [esi + 0x60]
push edx
mov ecx, ebx
call fcn.00407b80
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
mov ecx, esi
call fcn.00524ca0
push edi
mov edi, dword [esp + 0x28]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edi
push ebp
push ecx
mov ecx, ebx
call fcn.00407b80
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
mov ecx, esi
call fcn.00524ca0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esi + 0x7c]
lea ebx, [edi + ebp]
mov dword [esp + 0x14], eax
jl 0x525290
mov edi, dword [esp + 0x18]
jmp 0x52521d
call fcn.0047b415
int3