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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x652018]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 8], ebx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esi + 0x60]
lea ecx, [esi + 0xf8]
mov eax, dword [eax + 0x74]
or dword [eax + 0x94], 1
lea eax, [esp + 0xc]
push eax
lea eax, [ebx + 0x3c]
push eax
call fcn.00535db6
mov eax, dword [ebx + 0x70]
mov dword [esp + 0xc], 0
test eax, eax
je 0x533954
cmp word [eax], 0x5c
jne 0x533954
mov ecx, dword [eax + 0x28]
movzx eax, byte [ecx]
test byte [eax + eax*2 + 0x405210], 0x80
je 0x533954
mov dword [esp + 0xc], ecx
test byte [ebx + 2], 1
jne 0x53399e
push ebx
lea ecx, [esi + 8]
call fcn.005270b6
cmp word [ebx], 0x1f
jne 0x53399e
lea ecx, [ebx + 0x38]
test ecx, ecx
je 0x53399e
cmp dword [ecx], 0
je 0x53399e
mov eax, dword [esi + 8]
push ecx
lea ecx, [esi + 8]
mov eax, dword [eax + 0x3c]
call eax
test al, al
je 0x53399e
lea eax, [ebx + 0x38]
push eax
lea ecx, [esi + 8]
call fcn.00527556
mov eax, dword [esi + 8]
lea ecx, [ebx + 0x38]
push ecx
lea ecx, [esi + 8]
call dword [eax + 0x40]
cmp dword [ebx + 0x74], 0
jne 0x533ab3
cmp dword [esp + 0xc], 0
je 0x533aad
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0xc0]
call fcn.00538376
test al, al
je 0x533aad
mov eax, dword [ebx + 0x70]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x28]
jne 0x533aad
mov ecx, dword [ecx + 0x50]
call 0x3dc936
push 0
push 0
mov edi, eax
mov eax, dword [esi + 0x10]
push 0
push 2
push edi
mov ecx, dword [eax + 0xa0]
call fcn.00484386
mov esi, dword [ebx + 0x70]
lea ecx, [esp + 0x18]
push ecx
push ecx
push 0
push ecx
mov ecx, dword [esp + 0x20]
push 0
push edi
mov dword [ebx + 0x74], eax
mov ecx, dword [ecx + 0x10]
push eax
mov dword [esp + 0x34], 0xfeefed
mov dword [esp + 0x38], 0xfeefed
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.004733c6
add esp, 4
push eax
push esi
mov esi, dword [esp + 0x1c]
push 0x65e308
push 0x53
mov ecx, dword [esi + 0x10]
call fcn.004731c6
mov esi, dword [esi + 0x10]
mov edi, eax
push 0x30
lea ecx, [esi + 0x24]
call fcn.0053ac56
mov edx, eax
mov eax, 0x1e
mov word [edx], ax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x20]
mov dword [edx + 0xc], eax
mov eax, 0xfffe
mov ecx, dword [esp + 0x24]
mov dword [edx + 0x10], ecx
mov word [edx + 0x20], ax
mov ecx, dword [esi + 0x1d8]
mov dword [edx + 0x24], ecx
mov dword [edx + 0x28], edi
mov dword [edx + 0x1c], ebx
mov dword [ebx + 0x7c], edx
jmp 0x533b2d
cmp dword [ebx + 0x74], 0
je 0x533b2d
push dword [ebx + 0x7c]
mov ecx, esi
call fcn.00527c06
mov dword [ebx + 0x7c], eax
mov ecx, esi
mov eax, dword [esi + 0x10]
push dword [ebx + 0x74]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x2c], eax
call fcn.005321f6
mov edi, eax
cmp edi, dword [ebx + 0x74]
je 0x533b2d
lea ecx, [esp + 0x18]
call fcn.004e1966
push edi
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004e3056
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push 0
mov dword [eax + 0x20], esi
mov byte [eax + 0x24], 1
mov ecx, dword [ecx + 0x10]
push eax
call fcn.00454376
mov dword [ebx + 0x78], eax
mov ecx, dword [esp + 0x2c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call 0x59f1a7
mov esp, ebp
pop ebp
ret 4