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

Disassembly:
push 0xffffffffffffffff
push 0x5d34e0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x65b4e4]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65b4e4]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
or edi, 0xffffffff
xor ebp, ebp
mov ebx, 0xf
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
mov byte [esp + 0x74], 0
mov dword [esp + 0x98], ebp
lea ecx, [ecx]
call fcn.0041a460
mov esi, dword [eax + 0xfc]
call fcn.0041a460
cmp esi, ebp
mov eax, dword [eax + 0x110]
mov dword [esp + 0x38], eax
je 0x53030c
cmp eax, ebp
je 0x53030c
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push eax
push 2
push 2
push ebp
call esi
cmp eax, ebp
mov dword [esp + 0x34], eax
je 0x5300da
cmp eax, 0xea
jne 0x5302e8
mov esi, dword [esp + 0x14]
cmp esi, ebp
je 0x5302f9
cmp dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
jbe 0x5302ec
add esi, 0x18
jmp 0x530100
lea ecx, [esi - 0x18]
test ecx, ecx
je 0x5302e8
push 0x6c
call fcn.00594e6d
add esp, 4
cmp eax, ebp
je 0x53014d
mov dword [eax + 0x18], ebx
mov dword [eax + 0x14], ebp
mov byte [eax + 4], 0
mov dword [eax + 0x34], ebx
mov dword [eax + 0x30], ebp
mov byte [eax + 0x20], 0
mov dword [eax + 0x38], ebp
mov dword [eax + 0x3c], ebp
mov dword [eax + 0x40], ebp
mov dword [eax + 0x44], ebp
mov dword [eax + 0x48], ebp
mov dword [eax + 0x4c], ebp
mov dword [eax + 0x68], ebx
mov dword [eax + 0x64], ebp
mov byte [eax + 0x54], 0
mov edi, eax
jmp 0x53014f
xor edi, edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], edi
call fcn.00527fa0
mov edx, dword [esi - 0x18]
push ebp
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 1
call fcn.00528160
mov ecx, eax
lea edx, [ecx + 1]
mov bl, byte [ecx]
add ecx, 1
test bl, bl
jne 0x530177
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.004098b0
lea ecx, [esp + 0x60]
call fcn.00527fa0
mov eax, dword [esi + 0xc]
push ebp
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xa0], 2
call fcn.00528160
mov edx, eax
lea ebp, [edi + 0x1c]
lea ecx, [edx + 1]
mov bl, byte [edx]
add edx, 1
test bl, bl
jne 0x5301b2
sub edx, ecx
push edx
push eax
mov ecx, ebp
call fcn.004098b0
mov cl, byte [esi]
not cl
movzx edx, cl
shr edx, 1
and edx, 1
mov dword [edi + 0x3c], edx
movzx eax, byte [esi]
shr eax, 4
and eax, 1
mov dword [edi + 0x40], eax
mov ecx, dword [esi]
shr ecx, 0x17
and ecx, 1
mov dword [edi + 0x48], ecx
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x40]
mov dword [edi + 0x44], edx
call fcn.00527fa0
mov eax, dword [esi - 4]
push 0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 3
call fcn.00528160
mov edx, eax
lea ebp, [edi + 0x50]
lea ecx, [edx + 1]
lea ebx, [ebx]
mov bl, byte [edx]
add edx, 1
test bl, bl
jne 0x530220
sub edx, ecx
push edx
push eax
mov ecx, ebp
call fcn.004098b0
cmp dword [esi - 0x10], 0
je 0x53026a
push 0
call fcn.005b1b43
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
call fcn.005b2932
push eax
call fcn.005b2c09
mov dword [esp + 0x2c], eax
add esp, 0xc
sub eax, dword [esi - 0x10]
mov dword [esp + 0x24], edx
mov dword [edi + 0x4c], eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x98], 2
call fcn.00527fb0
lea ecx, [esp + 0x60]
mov byte [esp + 0x98], 1
call fcn.00527fb0
lea ecx, [esp + 0x50]
mov byte [esp + 0x98], 0
call fcn.00527fb0
mov edi, dword [esp + 0x30]
mov ebp, dword [edi + 8]
mov eax, dword [ebp + 4]
add edi, 4
lea edx, [esp + 0x28]
push edx
push eax
push ebp
mov ecx, edi
call fcn.0050b950
push 1
mov ecx, edi
mov ebx, eax
call fcn.00516950
mov eax, dword [esp + 0x1c]
mov dword [ebp + 4], ebx
mov ecx, dword [ebx + 4]
add eax, 1
mov dword [ecx], ebx
xor ebp, ebp
add esi, 0x60
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
lea ebx, [ebp + 0xf]
jb 0x530100
mov esi, dword [esp + 0x14]
cmp esi, ebp
je 0x5302f9
push esi
call dword [esp + 0x3c]
mov dword [esp + 0x14], ebp
cmp dword [esp + 0x34], 0xea
mov edi, 1
je 0x530080
cmp dword [esp + 0x88], 0x10
jb 0x530323
mov edx, dword [esp + 0x74]
push edx
call fcn.00594e98
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005b0968
add esp, 0x88
ret
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, esi
pop esi
jmp 0x530010