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

Disassembly:
push 0xffffffffffffffff
push 0x868cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, dword [esp + 0x98]
mov esi, ecx
cmp edi, 0x10cc
jb 0x52612a
mov eax, dword [esi + 0x2bc]
cmp eax, 1
jne 0x525dcc
mov eax, dword [esi + 0x4a20]
lea ebx, [edi - 0x10cc]
cmp ebx, eax
jge 0x525aa8
cmp eax, 1
jbe 0x525aa8
mov ebp, dword [esi + 0x4a18]
mov dword [esp + 0x18], 0
test ebp, ebp
je 0x525aa8
xor eax, eax
test ebp, ebp
setne al
test eax, eax
je 0x525cac
mov edi, ebp
mov eax, dword [edi + 8]
mov ebp, dword [ebp]
sub eax, 0x10
push eax
call fcn.004a9b50
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x54], edx
mov edx, dword [edi + 0x1c]
add eax, 0x10
add esp, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
xor edi, edi
mov dword [esp + 0x90], edi
cmp dword [esp + 0x18], ebx
je 0x525cb6
inc dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x525aa0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, edi
jne 0x525a1c
mov eax, dword [esi + 0x4a20]
cmp eax, 1
jbe 0x525ab5
sub ebx, eax
test ebx, ebx
js 0x525d5f
mov eax, dword [esi + 0x264]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
cmp ebx, eax
jge 0x525d5f
mov eax, dword [esi + 0x264]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
cmp eax, 1
jbe 0x525d5f
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x264]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x38]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0xa0], 3
call eax
test eax, eax
js 0x525c9c
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00514fd0
mov eax, dword [esp + 0x18]
push 0xbb8
push eax
lea ecx, [esp + 0x1c]
call fcn.004a8f10
mov edi, eax
push 0x81b1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 4
call fcn.004a8f10
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edi
push eax
push ecx
mov byte [esp + 0xa4], 5
call fcn.004ac680
add esp, 0xc
mov ecx, esi
call fcn.004f8390
lea ecx, [esp + 0x24]
call fcn.004a8c20
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 3
call fcn.004a8c20
mov eax, dword [esi + 0x12c]
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x3c]
push ecx
push eax
call edx
lea ecx, [esp + 0x1c]
call fcn.005345e0
mov edi, dword [esi + 0x264]
push 0x81b1
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 6
call fcn.004a8f10
mov ebp, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x98], 7
call fcn.005c5a60
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0xa0], 8
call fcn.005c5a60
add esp, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push ecx
push edi
mov byte [esp + 0x98], 9
call eax
mov ecx, dword [ebp]
push eax
inc ebx
push ebx
push ecx
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push eax
push edx
lea eax, [esp + 0x34]
push 0x40de3c
push eax
call fcn.004aa600
add esp, 0x20
lea ecx, [esp + 0x28]
call fcn.004a8c20
lea ecx, [esp + 0x2c]
call fcn.004a8c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 6
call fcn.004a8c20
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x402a88
call fcn.004a8f10
mov ecx, dword [esp + 0x20]
push 0
push 0xbb8
push ecx
push 1
lea ecx, [esi + 0x4848]
call fcn.0059db80
lea ecx, [esp + 0x1c]
call fcn.004a8c20
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x52612a
push 0x80004005
call fcn.004a8210
lea ecx, [esi + 0xf18]
mov byte [esi + 0x4a30], 1
call fcn.005530f0
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0xa
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
push eax
mov byte [esp + 0x94], 1
call fcn.004a9b50
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 2
call fcn.004b34a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.004a8c20
push edi
push edi
lea edx, [esp + 0x74]
push edx
lea ecx, [esi + 0xf18]
call fcn.00554670
push edi
push edi
mov ecx, esi
call fcn.00522110
lea ecx, [esp + 0x6c]
call fcn.004afe70
lea ecx, [esp + 0x44]
call fcn.004a8c20
jmp 0x52612a
mov eax, dword [esi + 0x264]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
cmp eax, 1
jbe 0x525d82
mov eax, dword [esi + 0x264]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
sub ebx, eax
test ebx, ebx
js 0x52612a
lea ecx, [esi + 0xf18]
call fcn.0054d500
cmp ebx, eax
jge 0x52612a
lea ecx, [esi + 0xf18]
call fcn.0054d510
cmp eax, ebx
je 0x52612a
push ebx
lea ecx, [esi + 0xf18]
call fcn.0054d2c0
push 0
push 0
mov ecx, esi
call fcn.00522110
jmp 0x52612a
cmp eax, 2
jne 0x526090
mov eax, dword [esi + 0x144]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov eax, dword [esi + 0x144]
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x144]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x6c]
call eax
mov eax, dword [esp + 0x1c]
sub edi, 0x10cb
cmp edi, eax
ja 0x525e62
mov eax, dword [esi + 0x140]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push 5
push edi
push eax
call edx
mov eax, dword [esi + 0x140]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push ebx
push 5
push 1
push edi
push eax
call edx
jmp 0x525e7c
sub edi, eax
cmp edi, dword [esp + 0x18]
ja 0x525e7c
mov eax, dword [esi + 0x140]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push ebx
push 5
push edi
push eax
call edx
mov eax, dword [esi + 0x144]
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x52612a
mov eax, dword [esi + 0x144]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x70]
push edx
push eax
mov eax, dword [ecx + 0x6c]
call eax
lea ecx, [esp + 0x28]
call fcn.005345e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
push ecx
push edx
lea eax, [esp + 0x30]
push 0x81a8
push eax
mov dword [esp + 0xa0], 0xa
call fcn.004b1ce0
add esp, 0x10
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esi + 0x460]
call fcn.00554ab0
lea ecx, [esp + 0x14]
call fcn.005345e0
mov eax, dword [esp + 0x40]
mov byte [esp + 0x90], 0xb
cmp eax, ebx
jl 0x525fc7
mov ecx, dword [esp + 0x3c]
jg 0x525f1f
cmp ecx, ebx
jbe 0x525fc7
push eax
push ecx
call fcn.005c3050
add esp, 8
push 0x81b1
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
call fcn.004a8f10
mov edi, eax
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x9c], 0xc
call fcn.005c5b50
mov ebp, eax
cmp byte [esp + 0x30], 0
lea ecx, [esp + 0x80]
seta dl
movzx eax, dl
push eax
push ecx
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0xa8], 0xd
call fcn.005c5b50
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x40]
mov eax, dword [eax]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [ebp]
push ecx
push ebx
push edx
push eax
lea ecx, [esp + 0x44]
push 0x40de10
push ecx
mov byte [esp + 0xc8], 0xe
call fcn.004aa600
add esp, 0x38
lea ecx, [esp + 0x30]
call fcn.004a8c20
lea ecx, [esp + 0x2c]
call fcn.004a8c20
jmp 0x526001
push 0x81b1
lea ecx, [esp + 0x24]
call fcn.004a8f10
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x28]
push edx
mov edx, dword [eax]
push ecx
push edx
push ebx
lea eax, [esp + 0x24]
push 0x40ddf0
push eax
mov byte [esp + 0xa8], 0xf
call fcn.004aa600
add esp, 0x18
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 0xb
call fcn.004a8c20
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x402a88
call fcn.004a8f10
mov edi, dword [esp + 0x18]
push 0
push 0xbb8
push edi
push 1
lea ecx, [esi + 0x4848]
call fcn.0059db80
lea eax, [edi - 0x10]
mov byte [esp + 0x90], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x526060
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x90], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52612a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x52612a
cmp eax, 3
jne 0x52612a
call fcn.007c9a2f
mov ebx, dword [eax + 4]
sub edi, 0x10cc
cmp dword [ebx + 0x9b8], 1
jne 0x52612a
mov eax, dword [esi + 0x114]
push eax
lea ecx, [esp + 0x18]
call fcn.004f23b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], 0x10
test eax, eax
je 0x526113
cmp dword [ebx + 0x9ec], edi
je 0x526113
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push eax
call edx
mov ecx, esi
call fcn.0050a830
mov eax, dword [esi + 0x215c]
mov edx, dword [eax + 0x18c]
lea ecx, [esi + 0x215c]
call edx
test eax, eax
je 0x52610f
push edi
lea ecx, [esi + 0x22a0]
call fcn.0054c860
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], 0xffffffff
test eax, eax
je 0x52612a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0080262b
add esp, 0x80
ret 4