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

Disassembly:
mov ecx, dword [0x6d0e30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x98]
cmp eax, dword [ecx + 8]
jbe 0x5315bc
sub esp, 0x118
movzx ecx, byte [esp + 0x134]
test cl, cl
je 0x5310a9
mov edx, dword [esp + 0x130]
test edx, edx
je 0x5310a9
lea eax, [0x555820]
mov dword [esp], eax
call fcn.0040caa0
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov dword [esp], 0
mov ecx, dword [esp + 0x124]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x128]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x130]
mov dword [esp + 0x10], ecx
call fcn.0044f0b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
mov dword [edx + 4], eax
mov eax, dword [0x6d0ed8]
test eax, eax
je 0x531083
call fcn.00464b00
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x138], edx
mov dword [esp + 0x13c], 1
mov dword [esp + 0x140], 1
add esp, 0x118
ret
lea edi, [esp + 0xcc]
xor eax, eax
call fcn.00464ce9
lea edi, [esp + 0x78]
call fcn.00464cdb
lea ecx, [esp + 0x78]
mov dword [esp + 0xd8], ecx
call fcn.00447f70
mov ecx, dword [esp]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x120]
mov edx, dword [ecx + 0x3c]
lea edi, [esp + 0xe8]
xor eax, eax
call fcn.00464ce4
lea ecx, [0x5590e0]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea edx, [esp + 0xe8]
mov dword [esp + 8], edx
call fcn.0040e680
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x53113e
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x50], ecx
lea ebx, [esp + 0xe8]
mov dword [esp], ebx
call fcn.0040e870
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0xe8]
test ebx, ebx
je 0x531359
mov ebp, dword [ebx + 4]
mov esi, dword [esp + 0xec]
mov ebx, dword [ebx]
mov esi, dword [esi]
mov dword [esp + 0x58], esi
mov edi, dword [esp + 0x130]
cmp edi, ebp
jle 0x531186
mov dword [esp + 0x34], eax
xor eax, eax
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x34]
jmp 0x5311cd
mov dword [esp + 0x30], ebp
mov dword [esp + 0x60], ebx
mov dword [esp], ebx
mov eax, dword [esp + 0x12c]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.004030e0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x130]
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x28]
movzx edi, byte [esp + 0x23]
xchg edi, eax
test al, al
xchg edi, eax
je 0x531117
movzx edi, byte [esi + 0x60]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x531117
mov dword [esp], 0
lea eax, [0x57bb02]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0044f0b0
mov eax, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x28]
cmp edi, eax
jae 0x53128a
mov dword [esp + 0x4c], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x6c], ebp
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x560700]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x50], ecx
mov edi, edx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
lea ebx, [eax - 1]
shl ebx, 4
mov eax, dword [esp + 0x50]
mov dword [eax + ebx + 4], edx
mov dword [eax + ebx + 0xc], esi
mov edx, dword [0x6d0ed8]
test edx, edx
jne 0x5312b6
movzx edx, byte [esp + 0x134]
test dl, dl
jmp 0x5312df
mov edx, edi
call fcn.00464b20
mov dword [edi], ecx
mov esi, dword [ebx + eax]
mov dword [edi + 4], esi
mov dword [edi + 8], ebp
mov esi, dword [ebx + eax + 8]
mov dword [edi + 0xc], esi
movzx esi, byte [esp + 0x134]
xchg esi, eax
test al, al
xchg esi, eax
mov edi, edx
mov edx, esi
mov dword [eax + ebx], ecx
mov dword [eax + ebx + 8], ebp
je 0x53134a
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 8]
mov dword [esp], 0
mov dword [esp + 4], eax
sar eax, 0x1f
mov dword [esp + 8], eax
call fcn.0044f870
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x5591e0]
mov dword [esp], edx
lea ebx, [esp + 0xcc]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00410920
mov eax, dword [esp + 0x10]
mov byte [eax], 1
mov eax, dword [esp + 0x50]
movzx edx, byte [esp + 0x134]
mov edi, dword [esp + 0x44]
mov eax, edi
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
jmp 0x531117
movzx ebx, byte [esp + 0x134]
test bl, bl
je 0x5313b0
mov ecx, dword [esp + 0x120]
mov ecx, dword [ecx + 0x38]
mov dword [esp + 0x68], ecx
lea edi, [esp + 0xe8]
xor eax, eax
call fcn.00464ce4
lea ecx, [0x5590e0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
lea ecx, [esp + 0xe8]
mov dword [esp + 8], ecx
call fcn.0040e680
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
jmp 0x5313f3
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], edx
mov dword [esp + 0x140], eax
add esp, 0x118
ret
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], edi
lea ecx, [esp + 0xe8]
mov dword [esp], ecx
call fcn.0040e870
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xe8]
test ebx, ebx
je 0x5313b0
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x64], ecx
mov eax, dword [ebx]
mov dword [esp + 0x5c], eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xec]
mov edx, dword [edx]
mov dword [esp + 0x54], edx
lea ebx, [0x5591e0]
mov dword [esp], ebx
lea ebp, [esp + 0xcc]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004105c0
movzx eax, byte [esp + 0x14]
test al, al
je 0x53145d
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x2c]
xor edx, edx
jmp 0x53149d
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x531470
xor edx, edx
jmp 0x53149d
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x12c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004030e0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esp + 0x130]
test dl, dl
je 0x5315ab
mov edx, dword [esp + 0x54]
movzx ebx, byte [edx + 0x60]
test bl, bl
je 0x5314c2
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x64]
jmp 0x5313cc
mov dword [esp], 0
lea eax, [0x57bb02]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.0044f0b0
mov eax, dword [esp + 0x3c]
inc eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x54]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov esi, dword [esp + 0x40]
cmp esi, eax
jb 0x531510
mov edi, dword [esp + 0x64]
jmp 0x531566
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], edx
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x560700]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x70]
mov edi, ecx
mov esi, edx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], eax
dec eax
shl eax, 4
mov dword [edi + eax + 4], edx
mov dword [edi + eax + 0xc], ebx
mov edx, dword [0x6d0ed8]
test edx, edx
je 0x53159b
mov edx, edi
call fcn.00464b20
mov dword [edi], ecx
mov ebx, dword [edx + eax]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebp
mov ebx, dword [edx + eax + 8]
mov dword [edi + 0xc], ebx
mov edi, edx
mov dword [edi + eax], ecx
mov dword [edi + eax + 8], ebp
mov eax, dword [esp + 0x24]
jmp 0x5313cc
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x64]
jmp 0x5313cc
call fcn.004636f0
jmp fcn.00530fd0