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

Disassembly:
mov ecx, dword [0x6cfe90]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x507605
sub esp, 0x74
mov eax, dword [esp + 0x78]
cmp byte [eax + 0x49], 0xff
je 0x506ed2
lea eax, [0x691710]
mov dword [esp], eax
call fcn.0046bf10
lea eax, [0x550a00]
cmp dword [esp + 4], eax
jne 0x506e55
mov ebx, dword [esp + 8]
jmp 0x506e67
lea eax, [0x562280]
mov dword [esp], eax
call fcn.0040ca70
mov ebx, dword [esp + 4]
mov dword [esp + 0x64], ebx
mov edx, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x9c]
cmp ecx, edx
jg 0x506e84
ja 0x5075ff
mov dword [ebx + 0x28], ecx
jmp 0x506ecb
lea eax, [0x557720]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044b5b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x64]
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], ecx
mov ecx, dword [0x6cff38]
test ecx, ecx
je 0x506ec6
call fcn.00464ac0
mov dword [edi], eax
mov ebx, dword [edx + 0x24]
mov dword [edi + 4], ebx
mov dword [edx + 0x24], eax
mov ebx, edx
mov edx, dword [ebx + 0x28]
xor eax, eax
jmp 0x506f03
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x74
ret
mov ebp, dword [ebx + 0x24]
mov dword [ebp + eax*4], 0xffffffff
inc eax
cmp eax, edx
jge 0x506f13
mov ecx, dword [ebx + 0x28]
cmp eax, ecx
jb 0x506ef7
jmp 0x5075fa
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x506f62
nop
mov dword [ebx + 0x14], eax
mov eax, dword [0x6cff38]
test eax, eax
jne 0x506f32
mov eax, dword [esp + 0x80]
jmp 0x506f46
call fcn.00464ac0
mov eax, dword [esp + 0x80]
mov dword [edi], eax
mov ecx, dword [ebx + 0x18]
mov dword [edi + 4], ecx
mov dword [ebx + 0x18], eax
mov byte [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
lea eax, [ebx + 0x14]
lea ecx, [0x5b6894]
jmp 0x506fe2
mov eax, dword [esp + 0x84]
test eax, eax
je 0x506fa4
nop
mov ecx, dword [esp + 0x88]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [ebx + 8], ecx
mov ecx, dword [0x6cff38]
test ecx, ecx
je 0x506f98
call fcn.00464ac0
mov dword [edi], eax
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
mov dword [ebx], eax
lea ecx, [0x5b68dc]
mov eax, ebx
jmp 0x506fe2
nop
mov eax, dword [esp + 0x94]
mov dword [ebx + 0x10], eax
mov eax, dword [0x6cff38]
test eax, eax
jne 0x506fc2
mov eax, dword [esp + 0x90]
jmp 0x506fd6
call fcn.00464ac0
mov eax, dword [esp + 0x90]
mov dword [edi], eax
mov ecx, dword [ebx + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0xc]
lea ecx, [0x5b68b8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x20], ecx
mov edx, dword [ecx + 0x20]
mov dword [esp], eax
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
cmp eax, 0xffffffff
jne 0x50701b
mov edx, 0xffffffff
xor ebx, ebx
jmp 0x50704e
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebp, dword [esp + 0x98]
lea esi, [ebp + ecx]
mov dword [esp + 4], esi
call edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], edx
mov ebp, dword [esp + 0x98]
test ebp, ebp
jne 0x50706a
mov esi, eax
mov edi, 0xffffffff
jmp 0x50709f
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ebp
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov edi, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x70], eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
cmp eax, ecx
jbe 0x5075ef
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edi
lea eax, [ecx + ecx*8]
test ebp, ebp
je 0x5070cf
xor eax, eax
jmp 0x50710d
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4 + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov byte [esp + 8], al
call fcn.00505e10
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
test al, al
je 0x50714e
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x50711c
xor eax, eax
jmp 0x507150
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
jmp 0x507150
xor eax, eax
test al, al
jne 0x50715d
mov eax, dword [esp + 0x3c]
jmp 0x50721a
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 4], edx
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x50722f
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x98]
add ecx, edx
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call ebx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 0x5c]
lea ebp, [ebx + eax]
mov esi, dword [esp + 8]
mov dword [esp + 0x34], esi
mov edi, dword [esp + 0x60]
mov dword [esp], edi
mov dword [esp + 4], ebp
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 8]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp + 4], esi
call ecx
mov eax, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x3c]
mov ecx, edx
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
jmp 0x50734f
xor eax, eax
test al, al
je 0x507300
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xa4]
lea ebx, [edx + ecx]
mov ebp, dword [eax + 0x24]
mov esi, dword [esp + 0xa8]
cmp esi, ebx
jb 0x507261
mov edi, dword [esp + 0xa0]
jmp 0x5072ad
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], ebp
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
lea eax, [0x557720]
mov dword [esp + 0x10], eax
call fcn.0044b670
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x6c]
mov edi, eax
mov esi, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x58], esi
lea eax, [edi + edx*4]
mov dword [esp], eax
mov dword [esp + 4], ebp
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.004653a0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.00506d40
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb4], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.00506d40
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x74
ret
mov dword [esp + 0x28], edi
mov edi, esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x34], ebp
mov ebp, edx
mov edx, dword [esp + 0x78]
mov edx, ecx
mov ecx, ebx
mov ebx, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
mov edx, dword [edx + 0xc]
mov eax, dword [edx + 4]
cmp ecx, eax
jae 0x5075e4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x30], esi
mov edx, dword [edx]
lea eax, [ecx + ecx*8]
lea ecx, [edx + eax*4]
movzx ecx, byte [ecx]
lea ebx, [edx + eax*4]
mov dword [esp + 0x68], ebx
mov ebx, dword [edx + eax*4 + 4]
mov dword [esp + 0x54], ebx
cmp cl, 5
ja 0x50746c
mov dword [esp + 0x50], edi
cmp cl, 2
ja 0x507415
cmp cl, 1
jbe 0x5073dc
mov eax, dword [edx + eax*4 + 8]
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jge 0x5073b9
jae 0x5075df
mov ecx, dword [edx + 0x24]
mov dword [ecx + eax*4], ebp
mov eax, dword [esp + 0x3c]
mov esi, edi
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jmp 0x507331
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00507c10
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jmp 0x507331
cmp cl, 3
jne 0x507560
mov eax, dword [edx + eax*4 + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov byte [esp + 8], al
call fcn.00505e10
movzx eax, byte [esp + 0xc]
test al, al
je 0x507559
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jmp 0x507331
cmp cl, 7
ja 0x5074c1
cmp cl, 6
jne 0x507499
mov eax, dword [esp + 0x3c]
mov esi, edi
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jmp 0x507331
lea eax, [edx + eax*4]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00501770
cmp dword [esp + 8], 0xffffffff
je 0x507598
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
jmp 0x5074f6
cmp cl, 8
jne 0x5074df
mov edi, dword [edx + eax*4 + 0x10]
mov edx, dword [edx + eax*4 + 0xc]
test edi, edi
jbe 0x5075cc
cmp dword [edx], esi
je 0x5074f6
jmp 0x50759f
cmp cl, 9
je 0x5074f6
cmp cl, 0xa
jne 0x5075b4
cmp esi, 0xa
je 0x5075ad
mov edx, dword [esp + 0x28]
test edx, edx
je 0x5075a6
add edx, ebp
mov ebp, dword [esp + 0x34]
cmp ebp, 0xffffffff
jne 0x507515
mov eax, ebp
mov ecx, dword [esp + 0x5c]
jmp 0x507550
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebp, dword [esp + 0x5c]
lea esi, [edx + ebp]
mov dword [esp + 4], esi
call ecx
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x30]
mov ebp, eax
mov ecx, ebx
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x5c]
jmp 0x507331
xor eax, eax
jmp 0x507231
cmp cl, 4
jne 0x507591
mov edx, dword [esp + 0x64]
mov ebx, dword [edx + 0x28]
test ebx, ebx
je 0x507587
mov ebx, dword [edx + 0x24]
mov dword [ebx], 0
mov ecx, dword [edx + 0x28]
cmp ecx, 1
jbe 0x5075d5
mov eax, dword [edx + 0x24]
mov dword [eax + 4], ebp
mov eax, 1
jmp 0x507231
xor eax, eax
jmp 0x507231
xor eax, eax
jmp 0x507231
xor eax, eax
jmp 0x507231
xor eax, eax
jmp 0x507231
xor eax, eax
jmp 0x507231
lea eax, [0x5574e0]
mov dword [esp], eax
lea eax, [0x5b61c0]
mov dword [esp + 4], eax
call fcn.00435f40
xor eax, eax
mov ecx, eax
call fcn.00464b30
mov eax, 1
call fcn.00464b30
call fcn.00464b40
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.00464b30
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.00464b30
call fcn.00464b30
call fcn.00464b70
nop
call fcn.004636b0
jmp fcn.00506e10