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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x72cf7f
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x820ac4]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
cmp esi, 0x12
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x38], ecx
jb 0x523a28
cmp esi, 0x200000
jbe 0x52345d
mov dword [ecx], 0xffffffff
jmp 0x523a28
movzx ax, byte [ebx + 0x10]
movzx dx, byte [ebx + 0x11]
shl ax, 8
add ax, dx
movzx eax, ax
movzx edi, ax
cmp esi, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edi
jb 0x523a28
cmp ax, 0x14
jb 0x523452
movzx ax, byte [ebx + 0x12]
movzx dx, byte [ebx + 0x13]
shl ax, 8
add ax, dx
cmp ax, 1
jne 0x523452
lea ecx, [ebx + 0x14]
call fcn.0044eb63
mov dword [esp + 0x1c], eax
lea eax, [edi + eax + 0x10]
cmp esi, eax
jb 0x523a28
mov ecx, dword [esp + 0x38]
lea esi, [ebx + 0x18]
mov dword [ecx], eax
call fcn.0044ec06
mov dword [esp + 0x70], edx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x70], eax
call fcn.005232e0
xor eax, eax
mov dword [esp + 0xc0], eax
mov byte [esp + 0x58], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
lea ecx, [ebx + 0x20]
mov byte [esp + 0xc0], 1
call fcn.0044eb63
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x78]
push eax
mov edx, ecx
mov esi, dword [edx + 4]
push ecx
lea edi, [esp + 0x84]
call fcn.0049453e
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x523546
push eax
mov eax, dword [esp + 0x18]
lea ecx, [ebx + eax + 0x10]
push ecx
lea eax, [esp + 0xa8]
call fcn.00444e8e
cmp word [esp + 0x28], 0x16
jbe 0x523581
movzx dx, byte [ebx + 0x24]
movzx ax, byte [ebx + 0x25]
mov ecx, dword [esp + 0x14]
shl dx, 8
add dx, ax
movzx eax, dx
movzx edx, ax
add ecx, 0xffffffea
cmp ecx, edx
jl 0x523581
push eax
add ebx, 0x26
push ebx
lea ecx, [esp + 0x8c]
call fcn.0040bc6b
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.00523250
lea edx, [esp + 0x3c]
push edx
mov eax, 0x14
call fcn.0044ea3f
add esp, 4
mov ebx, 0x10
mov byte [esp + 0xc0], 2
cmp dword [eax + 0x18], ebx
jb 0x5235b9
mov eax, dword [eax + 4]
jmp 0x5235bc
add eax, 4
mov edi, dword [esp + 0x2c]
mov ecx, dword [0x8b5884]
test ecx, ecx
mov esi, dword [edi + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], esi
je 0x5235e6
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 2
push eax
push esi
push edi
call edx
jmp 0x52373a
cmp dword [esi + 0x40], edi
je 0x523601
mov al, byte [esi + 0x48]
push 0x7f3afc
lea ecx, [esp + 0x17]
push ecx
mov byte [esp + 0x1b], al
call fcn.0054d859
add esi, 0x90
lea edx, [esp + 0x1c]
push 2
lea edi, [esi + 0x20]
push edx
mov dword [esp + 0x38], edi
call fcn.0040e85a
add esp, 8
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.0040df34
mov byte [esp + 0x34], 1
lea ebx, [esi + 0x10]
mov byte [esp + 0xc0], 3
mov eax, dword [ebx + 4]
test eax, eax
je 0x523647
mov ecx, dword [ebx + 8]
sub ecx, eax
jne 0x523694
cmp byte [esi + 0x28], 0
jne 0x523694
mov eax, esi
call fcn.004983c5
mov eax, dword [esi + 4]
test eax, eax
jne 0x52365f
xor ebx, ebx
jmp 0x523664
mov ebx, dword [esi + 8]
sub ebx, eax
lea edi, [ebx + 2]
mov eax, esi
call fcn.004302d2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x52367e
mov eax, dword [esi + 8]
sub eax, ecx
cmp ebx, eax
jb 0x523683
call fcn.0054b876
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
mov cx, word [eax]
add edx, ebx
mov word [edx], cx
jmp 0x5236e7
mov eax, esi
call fcn.004983c5
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x5236a8
mov dword [esp + 0x1c], ecx
jmp 0x5236b1
mov eax, dword [ebx + 8]
sub eax, ecx
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x1c]
add edi, 2
mov eax, ebx
call fcn.004302d2
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x5236d1
mov eax, dword [ebx + 8]
sub eax, ecx
cmp dword [esp + 0x1c], eax
jb 0x5236d6
call fcn.0054b876
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x14]
add ecx, dword [esp + 0x1c]
mov ax, word [edx]
mov word [ecx], ax
mov eax, esi
call fcn.00498411
mov byte [esp + 0xc0], 2
mov ecx, dword [esp + 0x30]
mov edx, ecx
mov eax, SysReAllocStringLen
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x523728
cmp eax, 0x80000000
jle 0x523728
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x523728
call fcn.0040dff8
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esp + 0x28]
call fcn.004976a3
mov edi, dword [esp + 0x2c]
mov ebx, 0x10
cmp dword [esp + 0x54], ebx
jb 0x52374d
mov ecx, dword [esp + 0x40]
push ecx
call fcn.005416e5
add esp, 4
lea edx, [esp + 0x3c]
push edx
mov eax, 1
call fcn.0044ea3f
add esp, 4
mov byte [esp + 0xc0], 4
cmp dword [eax + 0x18], ebx
jb 0x523771
mov eax, dword [eax + 4]
jmp 0x523774
add eax, 4
mov ecx, dword [0x8b5884]
test ecx, ecx
mov esi, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
je 0x52379a
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 2
push eax
push esi
push edi
call edx
jmp 0x5238ab
cmp dword [esi + 0x40], edi
je 0x5237b5
mov al, byte [esi + 0x48]
push 0x7f3afc
lea ecx, [esp + 0x17]
push ecx
mov byte [esp + 0x1b], al
call fcn.0054d859
add esi, 0x90
lea edx, [esp + 0x14]
push 2
lea ebx, [esi + 0x20]
push edx
mov dword [esp + 0x38], ebx
call fcn.0040e85a
add esp, 8
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.0040df34
mov byte [esp + 0x34], 1
lea ebx, [esi + 0x10]
mov byte [esp + 0xc0], 5
mov eax, dword [ebx + 4]
test eax, eax
je 0x5237fb
mov ecx, dword [ebx + 8]
sub ecx, eax
jne 0x52382e
cmp byte [esi + 0x28], 0
jne 0x52382e
mov eax, esi
call fcn.004983c5
mov edx, dword [esp + 0x1c]
push 2
push edx
call fcn.00444e8e
mov eax, esi
call fcn.00498411
mov byte [esp + 0xc0], 4
mov ecx, dword [esp + 0x30]
call fcn.0040ecc2
jmp 0x52389d
mov eax, esi
call fcn.004983c5
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x523842
mov dword [esp + 0x14], ecx
jmp 0x52384b
mov eax, dword [ebx + 8]
sub eax, ecx
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x14]
add edi, 2
mov eax, ebx
call fcn.004302d2
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x52386b
mov eax, dword [ebx + 8]
sub eax, ecx
cmp dword [esp + 0x14], eax
jb 0x523870
call fcn.0054b876
mov eax, dword [ebx + 4]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dx, word [ecx]
mov word [eax], dx
mov eax, esi
call fcn.00498411
mov byte [esp + 0xc0], 4
mov ecx, dword [esp + 0x30]
call fcn.0040ecc2
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
call fcn.004976a3
mov ebx, 0x10
cmp dword [esp + 0x54], ebx
jb 0x5238be
mov eax, dword [esp + 0x40]
push eax
call fcn.005416e5
add esp, 4
lea eax, [esp + 0x5c]
call fcn.00430332
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.0044ea5c
add esp, 4
push 0
push 4
mov ecx, eax
mov byte [esp + 0xc8], 6
call fcn.0040cf0b
push eax
push edi
mov edi, dword [edi + 4]
call fcn.0049447f
mov ebx, 0x10
add esp, 0x10
cmp dword [esp + 0x54], ebx
jb 0x52390e
mov edx, dword [esp + 0x40]
push edx
call fcn.005416e5
add esp, 4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
push eax
push ecx
lea esi, [esp + 0x44]
call fcn.0044ea78
add esp, 8
push 0
push 8
mov ecx, eax
mov byte [esp + 0xc8], 7
call fcn.0040cf0b
mov esi, dword [esp + 0x34]
mov edi, dword [esi + 4]
push eax
push esi
call fcn.0049447f
add esp, 0x10
cmp dword [esp + 0x54], ebx
jb 0x52395b
mov edx, dword [esp + 0x40]
push edx
call fcn.005416e5
add esp, 4
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x3c]
push eax
call fcn.0044ea5c
add esp, 4
push 0
push 4
mov ecx, eax
mov byte [esp + 0xc8], 8
call fcn.0040cf0b
mov edi, dword [esi + 4]
push eax
push esi
call fcn.0049447f
add esp, 0x10
mov byte [esp + 0xc0], 1
cmp dword [esp + 0x54], ebx
jb 0x5239aa
mov ecx, dword [esp + 0x40]
push ecx
call fcn.005416e5
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
je 0x5239f1
mov edx, dword [esp + 0x64]
sub edx, eax
je 0x5239f1
push 0
lea eax, [esp + 0x60]
call fcn.00430332
push eax
lea eax, [esp + 0x64]
call fcn.00430316
mov edi, dword [esi + 4]
push eax
push esi
call fcn.0049447f
add esp, 0x10
cmp byte [esp + 0x58], 0
jne 0x523a02
mov eax, dword [esp + 0x38]
mov dword [eax], 0xfffffffe
lea esi, [esp + 0x58]
mov byte [esp + 0xc0], 0
call fcn.005233c0
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0xc4], 0xffffffff
call fcn.00523340
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0054ae61
mov esp, ebp
pop ebp
ret 0x10