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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5194
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5fa040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x68], esi
mov ebx, dword [ebp + 0xc]
mov edx, ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov al, byte [ebx + 0x2c]
mov byte [esi + 0x69], al
cmp dword [ebx], 0x10900
push esi
sete al
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x50], ebx
mov byte [esi + 0x68], al
call fcn.00530000
add esp, 4
test eax, eax
jne 0x530759
mov eax, dword [ebx + 0x80]
or eax, dword [ebx + 0x84]
mov byte [ebp - 0x45], 0
je 0x530410
mov byte [ebp - 0x45], 1
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x7c], 0
movlpd qword [ebp - 0x74], xmm0
mov dword [ebp - 4], 0
cmp dword [esi + 0x24], 0
mov dword [ebp - 0x60], 0
jbe 0x53073d
xor edx, edx
mov dword [ebp - 0x64], edx
mov ecx, dword [esi + 0x20]
movzx eax, word [ebx + 0x20]
add ecx, edx
mov dword [ebp - 0x54], ecx
mov edx, eax
cmp eax, 1
jne 0x530724
cmp word [ecx + 0x20], dx
jne 0x530724
xor ebx, ebx
lea edi, [esi + 0x5c]
cmp byte [esi + 0x68], bl
mov ecx, edi
sete bl
add ebx, dword [esi + 0x60]
call fcn.00439780
push 0x38
call fcn.00587dd8
mov dword [ebp - 0x58], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov byte [ebp - 4], 3
lea esi, [eax + 0x24]
mov dword [eax + 0x20], 0xffffffff
push 8
mov dword [esi], 0
call fcn.0058813f
mov dword [esi], eax
xor ecx, ecx
mov dword [esi + 4], 0
add esp, 8
mov dword [esi + 8], 3
mov word [eax], cx
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov edx, dword [edi + 4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + edx*4], ecx
lea edx, [ebp - 0x44]
mov ecx, ebx
call fcn.0046c0e0
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.0046d0a0
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x28]
lea esi, [eax*2 + 2]
cmp esi, dword [ebx + 0x34]
je 0x530593
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x530579
push eax
call fcn.00588148
add esp, 4
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
test esi, esi
je 0x530593
push esi
call fcn.0058813f
add esp, 4
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], esi
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x30]
add edx, 1
je 0x5305b5
lea esi, [ebp - 0x44]
sub esi, ecx
mov al, byte [ecx + esi]
lea ecx, [ecx + 2]
mov byte [ecx - 2], al
mov byte [ecx - 1], 0
sub edx, 1
jne 0x5305a3
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
push dword [ebp - 0x50]
lea ecx, [ebp - 0xa4]
push dword [ebp - 0x54]
push dword [ebp - 0x6c]
call fcn.0052f000
mov edi, eax
test edi, edi
jne 0x53074c
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x24]
add eax, 0x2c
mov edi, 0x10
mov dword [ebp - 0x4c], eax
mov edx, eax
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x530603
add ecx, 4
add edx, 4
sub edi, 4
jae 0x5305f0
jmp 0x530625
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0x2c], 0
je 0x530743
mov ecx, dword [ebp - 0x4c]
xor eax, eax
cmp byte [ecx + eax], 0
jne 0x530743
inc eax
cmp eax, 0x14
jb 0x530615
mov dword [ebx + 0x1c], 0
cmp dword [esi + 0x3c], 0
jne 0x5306cc
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x3c], 0
cmp edi, dword [esi + 0x40]
jbe 0x5306cc
cmp edi, 0x7fffffff
ja 0x530777
push dword [esi + 0x38]
call fcn.00588148
mov ecx, 0x18
mov dword [esi + 0x38], 0
mov eax, edi
mov dword [esi + 0x40], 0
mul ecx
mov ecx, 0xffffffff
mov dword [ebp - 0x4c], edi
cmovb eax, ecx
push eax
call fcn.0058813f
add esp, 8
mov dword [ebp - 0x4c], eax
mov edx, edi
test edi, edi
je 0x5306c2
lea ecx, [eax + 8]
nop dword [eax]
nop dword [eax + eax]
mov dword [ecx - 4], 0xffffffff
mov dword [ecx], 0xffffffff
mov dword [ecx + 4], 0xffffffff
mov word [ecx + 0xc], 0
add ecx, 0x18
sub edx, 1
jne 0x5306a0
mov byte [ebp - 4], 0
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], edi
push ecx
push ebx
mov ecx, esi
call fcn.0052f9c0
mov edi, eax
test edi, edi
jne 0x53074c
mov ebx, dword [ebp - 0x50]
cmp byte [ebp - 0x45], al
je 0x530724
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x78]
cmp eax, dword [ecx + 8]
jne 0x5306fe
mov eax, dword [ebx + 0x7c]
cmp eax, dword [ecx + 0xc]
jne 0x5306fe
mov dl, 1
mov byte [ebp - 0x45], 0
jmp 0x530700
xor dl, dl
cmp byte [ebx + 0x2d], 0
je 0x530724
cmp dword [ecx + 0x24], 1
jne 0x530724
mov edi, dword [ebp - 0x5c]
mov eax, dword [ebx + 0x28]
inc edi
mov dword [ebp - 0x5c], edi
test dl, dl
je 0x530720
cmp eax, edi
jne 0x530743
jmp 0x530724
cmp eax, edi
je 0x530743
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
inc eax
add edx, 0x40
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], edx
cmp eax, dword [esi + 0x24]
jb 0x530483
cmp byte [ebp - 0x45], 0
je 0x53074a
mov edi, 1
jmp 0x53074c
xor edi, edi
lea ecx, [ebp - 0xa4]
call fcn.00526120
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587d99
mov esp, ebp
pop ebp
ret 0x10
push 0x5f79a8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x7e5
push eax
call fcn.0058acc1
int3