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

Disassembly:
push 0xffffffffffffffff
push 0x566390
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x64]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x5c]
cmp dword [eax], 3
jl 0x531716
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x58]
call fcn.00499450
xor al, al
jmp 0x532034
mov eax, dword [esp + 0x60]
inc dword [eax]
xor edi, edi
lea eax, [esp + 0x58]
call fcn.0049a170
cmp word [eax], 0x3b
jne 0x531742
mov ecx, dword [esp + 0x54]
mov byte [ecx + 0x24], 1
mov dword [esp + 0x4c], 0xffffffff
jmp 0x532029
lea eax, [esp + 0x58]
call fcn.00499c50
test al, al
jne 0x531735
push esi
push 0x629a90
or eax, 0xffffffff
lea ecx, [esp + 0x60]
call fcn.004994c0
mov ebp, dword [sym.imp.MSVCR90.dll_wcstok]
push eax
call ebp
add esp, 8
or edi, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.004993c0
mov byte [esp + 0x4c], 1
push 0
push 0x629a90
push 0
call ebp
add esp, 8
or edi, edi
lea esi, [esp + 0x24]
call fcn.004993c0
mov byte [esp + 0x4c], 2
push 0
push 0x608494
push 0
call ebp
or ebp, 0xffffffff
add esp, 8
mov edi, ebp
lea esi, [esp + 0x18]
call fcn.004993c0
mov byte [esp + 0x4c], 3
lea eax, [esp + 0x18]
call fcn.00499c00
test eax, eax
je 0x531f7c
lea eax, [esp + 0x20]
call fcn.00499c00
test eax, eax
je 0x531f7c
mov eax, esi
call fcn.00499c00
test eax, eax
je 0x531f7c
lea eax, [esp + 0x20]
call fcn.00499780
lea ecx, [esp + 0x20]
call fcn.005457c0
mov dword [esp + 0x30], eax
cmp eax, ebp
jne 0x531879
lea ecx, [esp + 0x54]
call fcn.004992d0
mov byte [esp + 0x4c], 6
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
push eax
lea eax, [esp + 0x24]
call fcn.00408130
push eax
lea ecx, [esp + 0x5c]
push str.unknown_virtual_key__1_on_line__2_d_
push ecx
call fcn.00499d40
add esp, 0x10
mov eax, ebx
call fcn.00499c50
test al, al
jne 0x53186f
push 0
mov eax, 0x608494
lea esi, [esp + 0x64]
call fcn.004993c0
mov byte [esp + 0x4c], 7
mov edx, esi
push edx
mov edi, ebx
call fcn.00499570
mov byte [esp + 0x4c], 6
mov ecx, esi
call fcn.00499450
lea eax, [esp + 0x54]
push eax
jmp 0x531fe0
xor ebp, ebp
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ebp
call fcn.00499780
push ebp
push 0x4e
lea ecx, [esp + 0x20]
push ecx
call fcn.00499b50
cmp eax, ebp
jl 0x5318aa
mov edi, eax
push 0x20
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ebp
call fcn.00499d10
push ebp
push 0x45
lea edx, [esp + 0x20]
push edx
call fcn.00499b50
cmp eax, ebp
jl 0x5318d0
mov edi, eax
push 0x20
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0x2000000
call fcn.00499d10
push ebp
push 0x43
lea eax, [esp + 0x20]
push eax
call fcn.00499b50
cmp eax, ebp
jl 0x5318f6
or dword [esp + 0x1c], 0x4000000
mov edi, eax
push 0x20
lea eax, [esp + 0x1c]
call fcn.00499d10
push ebp
push 0x53
lea ecx, [esp + 0x20]
push ecx
call fcn.00499b50
cmp eax, ebp
jl 0x53191c
or dword [esp + 0x1c], 0x8000000
mov edi, eax
push 0x20
lea eax, [esp + 0x1c]
call fcn.00499d10
push ebp
push 0x41
lea edx, [esp + 0x20]
push edx
call fcn.00499b50
cmp eax, ebp
jl 0x531942
or dword [esp + 0x1c], 0x10000000
mov edi, eax
push 0x20
lea eax, [esp + 0x1c]
call fcn.00499d10
lea eax, [esp + 0x18]
call fcn.00499c00
test eax, eax
jle 0x531a07
mov edi, ebp
lea eax, [esp + 0x18]
call fcn.0049a170
cmp word [eax], 0x20
je 0x5319f5
lea ecx, [esp + 0x64]
call fcn.004992d0
mov byte [esp + 0x4c], 8
lea eax, [esp + 0x18]
call fcn.0049a170
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
movzx eax, word [eax]
push edx
push eax
lea ecx, [esp + 0x6c]
push str.unknown_modifier__1_c__on_line__2_d_
push ecx
call fcn.00499d40
add esp, 0x10
mov eax, ebx
call fcn.00499c50
test al, al
jne 0x5319d5
push 0
or edi, 0xffffffff
mov eax, 0x608494
lea esi, [esp + 0x30]
call fcn.004993c0
mov byte [esp + 0x4c], 9
mov edx, esi
push edx
mov edi, ebx
call fcn.00499570
mov byte [esp + 0x4c], 8
mov ecx, esi
call fcn.00499450
lea eax, [esp + 0x64]
push eax
mov edi, ebx
call fcn.00499570
mov eax, dword [esp + 0x5c]
inc dword [eax]
mov byte [esp + 0x4c], 3
lea ecx, [esp + 0x64]
call fcn.00499450
lea eax, [esp + 0x18]
inc ebp
call fcn.00499c00
cmp ebp, eax
jl 0x531953
xor ebp, ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x28], ebp
call fcn.00499c00
test eax, eax
jle 0x531a52
lea ebx, [ebx]
mov edi, ebp
lea eax, [esp + 0x14]
call fcn.0049a170
cmp word [eax], 0x20
je 0x531a40
lea eax, [esp + 0x14]
call fcn.0049a170
cmp word [eax], 9
jne 0x531a4e
lea eax, [esp + 0x14]
inc ebp
call fcn.00499c00
cmp ebp, eax
jl 0x531a20
mov dword [esp + 0x28], ebp
mov edi, ebp
lea eax, [esp + 0x14]
call fcn.0049a170
cmp word [eax], 0x22
jne 0x531b96
mov ecx, 0x22
lea eax, [esp + 0x14]
call fcn.00499bf0
mov esi, eax
cmp esi, ebp
jg 0x531b02
lea ecx, [esp + 0x64]
call fcn.004992d0
mov byte [esp + 0x4c], 0xa
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
push edx
lea eax, [esp + 0x68]
push str.expected_closing_quote_on_line__1_d_
push eax
call fcn.00499d40
add esp, 0xc
mov eax, ebx
call fcn.00499c50
test al, al
jne 0x531adf
push 0
or edi, 0xffffffff
mov eax, 0x608494
lea esi, [esp + 0x64]
call fcn.004993c0
mov byte [esp + 0x4c], 0xb
mov ecx, esi
push ecx
mov edi, ebx
call fcn.00499570
mov byte [esp + 0x4c], 0xa
mov ecx, esi
call fcn.00499450
lea edx, [esp + 0x64]
push edx
mov edi, ebx
call fcn.00499570
mov eax, dword [esp + 0x5c]
inc dword [eax]
lea esi, [ebp + 1]
mov byte [esp + 0x4c], 3
lea ecx, [esp + 0x64]
call fcn.00499450
sub esi, ebp
dec esi
push esi
lea eax, [esp + 0x30]
lea edx, [ebp + 1]
push eax
lea ecx, [esp + 0x1c]
call fcn.00499930
mov bl, 0xc
mov byte [esp + 0x4c], bl
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x30]
push ecx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x60], esp
call fcn.004992f0
mov byte [esp + 0x50], 0xd
push 1
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x58], bl
call fcn.00530b30
mov esi, eax
mov byte [esp + 0x4c], 0xe
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x60]
push edx
add ecx, 4
call fcn.00532f30
mov ebp, eax
mov eax, dword [esi]
mov dword [ebp + 4], eax
lea eax, [esi + 4]
lea edi, [ebp + 8]
call fcn.00499530
lea eax, [esi + 8]
lea edi, [ebp + 0xc]
call fcn.00499530
mov byte [esp + 0x4c], bl
lea ecx, [esp + 0x38]
push ecx
call fcn.00528420
jmp 0x531ceb
mov edi, 3
push edi
lea edx, [esp + 0x38]
push edx
mov edx, ebp
lea ecx, [esp + 0x1c]
call fcn.00499930
mov byte [esp + 0x4c], 0xf
mov esi, 0x60d688
mov dword [esp + 0x24], 1
call fcn.0049a660
test al, al
jne 0x531bf8
push 6
lea eax, [esp + 0x30]
push eax
mov edx, ebp
lea ecx, [esp + 0x1c]
call fcn.00499930
mov dword [esp + 0x4c], 0x10
mov esi, str.LAUNCH
mov dword [esp + 0x24], edi
call fcn.0049a660
mov byte [esp + 0x64], 0
test al, al
je 0x531bfd
mov byte [esp + 0x64], 1
mov dword [esp + 0x4c], 0xf
test byte [esp + 0x24], 2
je 0x531c1a
and dword [esp + 0x24], 0xfffffffd
lea ecx, [esp + 0x2c]
call fcn.00499450
mov dword [esp + 0x4c], edi
test byte [esp + 0x24], 1
je 0x531c33
and dword [esp + 0x24], 0xfffffffe
lea ecx, [esp + 0x34]
call fcn.00499450
cmp byte [esp + 0x64], 0
je 0x531de3
push edi
lea ecx, [esp + 0x38]
push ecx
mov edx, ebp
lea ecx, [esp + 0x1c]
call fcn.00499930
mov byte [esp + 0x4c], 0x11
mov esi, 0x60d688
call fcn.0049a660
mov byte [esp + 0x64], al
mov byte [esp + 0x4c], 3
lea ecx, [esp + 0x34]
call fcn.00499450
lea ecx, [esp + 0x2c]
call fcn.004992d0
mov byte [esp + 0x4c], 0x12
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov edx, dword [esi]
push 0
push edi
push ebx
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00530920
test al, al
je 0x531ceb
lea ecx, [esp + 0x60]
call fcn.004992d0
mov byte [esp + 0x4c], 0x13
cmp byte [esp + 0x64], 0
je 0x531d30
mov eax, dword [esi]
inc dword [esp + 0x28]
push 1
push edi
push ebx
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.00530920
test al, al
jne 0x531d30
mov byte [esp + 0x4c], 0x12
lea ecx, [esp + 0x60]
call fcn.00499450
mov byte [esp + 0x4c], 3
lea ecx, [esp + 0x2c]
call fcn.00499450
mov byte [esp + 0x4c], 2
lea ecx, [esp + 0x14]
call fcn.00499450
mov byte [esp + 0x4c], 1
lea ecx, [esp + 0x20]
call fcn.00499450
mov byte [esp + 0x4c], 0
lea ecx, [esp + 0x18]
call fcn.00499450
mov dword [esp + 0x4c], 0xffffffff
jmp 0x532029
mov edi, dword [esp + 0x1c]
or edi, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x60], edi
mov dword [esp + 0x38], esp
call fcn.004992f0
mov byte [esp + 0x50], 0x14
mov bl, byte [esp + 0x68]
xor ecx, ecx
test bl, bl
sete cl
lea edx, [esp + 0x3c]
add ecx, 2
push ecx
push edx
mov byte [esp + 0x58], 0x13
call fcn.00530b30
mov esi, eax
mov byte [esp + 0x4c], 0x15
mov ebp, dword [esp + 0x54]
lea eax, [esp + 0x5c]
add ebp, 4
push eax
mov ecx, ebp
call fcn.00532f30
push esi
lea esi, [eax + 4]
call fcn.00528480
mov byte [esp + 0x4c], 0x13
lea ecx, [esp + 0x38]
push ecx
call fcn.00528420
lea edx, [esp + 0x5c]
push edx
mov ecx, ebp
mov dword [esp + 0x60], edi
call fcn.00532f30
lea edi, [eax + 0xc]
lea eax, [esp + 0x60]
call fcn.00499530
mov ecx, 0x60d688
test bl, bl
jne 0x531dcb
mov ecx, str.LAUNCH
lea eax, [esp + 0x2c]
call fcn.00408130
push eax
push ecx
call fcn.00493a10
add esp, 8
jmp 0x531cdd
lea ecx, [esp + 0x64]
call fcn.004992d0
mov byte [esp + 0x4c], 0x16
lea eax, [esp + 0x14]
call fcn.00499c00
cmp ebp, eax
jge 0x531e43
mov edi, edi
mov edi, ebp
lea eax, [esp + 0x14]
call fcn.0049a170
cmp word [eax], 0x20
je 0x531e43
lea eax, [esp + 0x14]
call fcn.0049a170
cmp word [eax], 9
je 0x531e43
lea eax, [esp + 0x14]
call fcn.0049a170
mov ax, word [eax]
lea ecx, [esp + 0x64]
call fcn.00499600
lea eax, [esp + 0x14]
inc ebp
call fcn.00499c00
cmp ebp, eax
jl 0x531e00
lea eax, [esp + 0x64]
push eax
call fcn.00526820
mov ebp, eax
add esp, 4
cmp ebp, 1
jle 0x531ee4
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x30]
push ecx
mov dword [esp + 0x64], eax
mov esi, esp
mov dword [esp + 0x60], esp
push 0
or edi, 0xffffffff
mov eax, 0x5fd800
call fcn.004993c0
mov byte [esp + 0x50], 0x17
push ebp
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x58], 0x16
call fcn.00530b30
mov esi, eax
mov byte [esp + 0x4c], 0x18
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x60]
push edx
add ecx, 4
call fcn.00532f30
mov ebx, eax
mov eax, dword [esi]
mov dword [ebx + 4], eax
lea eax, [esi + 4]
lea edi, [ebx + 8]
call fcn.00499530
lea eax, [esi + 8]
lea edi, [ebx + 0xc]
call fcn.00499530
mov byte [esp + 0x4c], 0x16
lea ecx, [esp + 0x38]
push ecx
call fcn.00528420
mov byte [esp + 0x4c], 3
lea ecx, [esp + 0x64]
jmp 0x531cf4
lea ecx, [esp + 0x54]
call fcn.004992d0
mov byte [esp + 0x4c], 0x19
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
push eax
lea eax, [esp + 0x68]
call fcn.00408130
push eax
lea ecx, [esp + 0x5c]
push str.illegal_string_or_unknown_function___1__on_line__2_d_
push ecx
call fcn.00499d40
add esp, 0x10
mov eax, ebx
call fcn.00499c50
test al, al
jne 0x531f4e
push 0
or edi, 0xffffffff
mov eax, 0x608494
lea esi, [esp + 0x64]
call fcn.004993c0
mov byte [esp + 0x4c], 0x1a
mov edx, esi
push edx
mov edi, ebx
call fcn.00499570
mov byte [esp + 0x4c], 0x19
mov ecx, esi
call fcn.00499450
lea eax, [esp + 0x54]
push eax
mov edi, ebx
call fcn.00499570
mov eax, dword [esp + 0x5c]
inc dword [eax]
mov byte [esp + 0x4c], 0x16
lea ecx, [esp + 0x54]
call fcn.00499450
mov byte [esp + 0x4c], 3
lea ecx, [esp + 0x64]
jmp 0x531cf4
lea ecx, [esp + 0x54]
call fcn.004992d0
mov byte [esp + 0x4c], 4
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
push edx
lea eax, [esp + 0x58]
push str.syntax_error_on_line__1_d_
push eax
call fcn.00499d40
add esp, 0xc
mov eax, ebx
call fcn.00499c50
test al, al
jne 0x531fdb
push 0
mov edi, ebp
mov eax, 0x608494
lea esi, [esp + 0x64]
call fcn.004993c0
mov byte [esp + 0x4c], 5
mov ecx, esi
push ecx
mov edi, ebx
call fcn.00499570
mov byte [esp + 0x4c], 4
mov ecx, esi
call fcn.00499450
lea edx, [esp + 0x54]
push edx
mov edi, ebx
call fcn.00499570
mov eax, dword [esp + 0x5c]
inc dword [eax]
mov byte [esp + 0x4c], 3
lea ecx, [esp + 0x54]
call fcn.00499450
mov byte [esp + 0x4c], 2
lea ecx, [esp + 0x14]
call fcn.00499450
mov byte [esp + 0x4c], 1
lea ecx, [esp + 0x20]
call fcn.00499450
mov byte [esp + 0x4c], 0
lea ecx, [esp + 0x18]
call fcn.00499450
mov dword [esp + 0x4c], ebp
lea ecx, [esp + 0x58]
call fcn.00499450
mov al, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x14