Function at 0x407ee0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
push esi
xor esi, esi
mov edx, dword [eax]
mov cl, byte [edx]
test cl, 0x40
mov byte [esp + 8], cl
je 0x407eff
push eax
call fcn.00407db0
add esp, 4
pop esi
ret
inc edx
test cl, 0x80
mov dword [eax], edx
je 0x407f13
and cl, 0x7f
mov esi, 1
mov byte [esp + 8], cl
mov ecx, dword [esp + 8]
and ecx, 0xff
add ecx, 0xfffffffc
cmp ecx, 0xc
ja case.default.0x407f29
jmp dword [ecx*4 + 0x408258]
test esi, esi
push eax
je 0x407f5c
call fcn.00407ac0
mov edx, dword [0x5af074]
and eax, 0xffff
shl edx, 6
mov eax, dword [eax*4 + 0x469d58]
add esp, 4
mov ecx, dword [edx + 0x5a9df8]
add eax, ecx
pop esi
ret
call fcn.00407ac0
add esp, 4
and eax, 0xffff
mov eax, dword [eax*4 + 0x469d58]
pop esi
ret
push eax
call fcn.00407ac0
and eax, 0xffff
add esp, 4
test esi, esi
mov eax, dword [eax*4 + 0x469d58]
je 0x407f94
push eax
call fcn.00407aa0
add esp, 4
mov eax, dword [eax]
pop esi
ret
test esi, esi
push eax
je 0x407fd2
call fcn.00407ac0
mov ecx, dword [0x5af074]
and eax, 0xffff
add esp, 4
mov edx, dword [ecx*4 + 0x5695f8]
add eax, edx
mov edx, ecx
shl edx, 8
add eax, edx
pop esi
shl ecx, 6
mov eax, dword [eax*4 + 0x569df8]
add eax, dword [ecx + 0x5a9df8]
ret
call fcn.00407ac0
mov cx, ax
mov eax, dword [0x5af074]
and ecx, 0xffff
add esp, 4
mov edx, dword [eax*4 + 0x5695f8]
add ecx, edx
pop esi
shl eax, 8
add ecx, eax
mov eax, dword [ecx*4 + 0x569df8]
ret
push eax
call fcn.00407ac0
mov ecx, dword [0x5af074]
add esp, 4
and eax, 0xffff
mov edx, ecx
test esi, esi
je 0x40803b
mov ecx, dword [ecx*4 + 0x5695f8]
shl edx, 8
add ecx, edx
add ecx, eax
mov edx, dword [ecx*4 + 0x569df8]
push edx
call fcn.00407aa0
mov eax, dword [eax]
add esp, 4
pop esi
ret
mov ecx, dword [ecx*4 + 0x5695f8]
pop esi
shl edx, 8
add ecx, edx
add ecx, eax
mov eax, dword [ecx*4 + 0x569df8]
mov eax, dword [eax]
ret
test esi, esi
push eax
je 0x408090
call fcn.00407ac0
mov ecx, dword [0x5af074]
mov dx, ax
and edx, 0xffff
add esp, 4
lea eax, [ecx + ecx*4]
shl ecx, 6
lea eax, [eax + eax*4]
pop esi
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
mov eax, dword [edx*4 + 0x46acf8]
mov edx, dword [ecx + 0x5a9df8]
add eax, edx
ret
call fcn.00407ac0
mov cx, ax
mov eax, dword [0x5af074]
add esp, 4
and ecx, 0xffff
lea eax, [eax + eax*4]
pop esi
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
mov eax, dword [eax*4 + 0x46acf8]
ret
push eax
call fcn.00407ac0
mov ecx, dword [0x5af074]
and eax, 0xffff
add esp, 4
lea ecx, [ecx + ecx*4]
test esi, esi
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov eax, dword [edx*4 + 0x46acf8]
jmp 0x407f89
test esi, esi
push eax
je 0x408115
call fcn.00407ac0
mov ecx, dword [0x5af074]
and eax, 0xffff
shl ecx, 6
mov eax, dword [eax*4 + 0x564cf8]
add esp, 4
mov edx, dword [ecx + 0x5a9df8]
add eax, edx
pop esi
ret
call fcn.00407ac0
add esp, 4
and eax, 0xffff
mov eax, dword [eax*4 + 0x564cf8]
pop esi
ret
push eax
call fcn.00407ac0
add esp, 4
and eax, 0xffff
test esi, esi
je 0x408151
mov edx, dword [eax*4 + 0x564cf8]
push edx
call fcn.00407aa0
mov eax, dword [eax]
add esp, 4
pop esi
ret
mov eax, dword [eax*4 + 0x564cf8]
pop esi
mov eax, dword [eax]
ret
test esi, esi
push eax
je 0x408189
call fcn.00407ac0
mov edx, dword [0x5af074]
and eax, 0xffff
xor ecx, ecx
add esp, 4
mov cl, byte [eax + 0x457550]
shl edx, 6
mov eax, ecx
pop esi
add eax, dword [edx + 0x5a9df8]
ret
call fcn.00407ac0
add esp, 4
and eax, 0xffff
xor ecx, ecx
mov cl, byte [eax + 0x457550]
pop esi
mov eax, ecx
ret
push eax
call fcn.00407ac0
add esp, 4
and eax, 0xffff
test esi, esi
je 0x4081cd
xor edx, edx
mov dl, byte [eax + 0x457550]
push edx
call fcn.00407aa0
add esp, 4
xor edx, edx
mov dl, byte [eax]
mov eax, edx
pop esi
ret
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 0x457550]
pop esi
mov eax, ecx
mov dl, byte [eax]
mov eax, edx
ret
test esi, esi
push eax
je 0x4081fd
call fcn.00407ad0
mov ecx, dword [0x5af074]
add esp, 4
shl ecx, 6
pop esi
add eax, dword [ecx + 0x5a9df8]
ret
call fcn.00407ad0
add esp, 4
pop esi
ret
push eax
call fcn.00407ad0
add esp, 4
test esi, esi
jmp 0x407f89
cmp byte [edx], 0
jne 0x408223
inc edx
pop esi
mov dword [eax], edx
xor eax, eax
ret
push eax
call fcn.00407d90
add esp, 4
pop esi
ret
push str.Script_Error._GetVar_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [0x5ae3f8]
push 0x30
push 0
push str.Script_Error._GetVar_
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 8]
pop esi
ret