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

Disassembly:
sub esp, 0xbc
push ebx
push ebp
mov ebp, dword [esp + 0xcc]
push esi
push edi
mov edi, dword [sym.imp.MSVCR90.dll_sprintf]
mov esi, eax
push esi
lea eax, [esp + 0x7c]
push str._sctrl
push eax
call edi
push esi
lea ecx, [esp + 0xb0]
push str._sctrldef
push ecx
call edi
lea eax, [esp + 0x90]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404ff3
sub eax, edx
lea edx, [esp + 0xa0]
mov ebx, eax
push edx
mov esi, ebp
mov dword [esp + 0x24], ebx
call fcn.00433280
mov edi, eax
lea eax, [esp + 0x7c]
push eax
call fcn.00433280
mov esi, eax
add esp, 8
sub esi, edi
mov dword [esp + 0x1c], esi
je 0x4054c2
mov edi, dword [esp + 0xd0]
push 0x54
push esi
mov dword [edi + 0x3c], esi
call dword [sym.imp.MSVCR90.dll_calloc]
add esp, 8
test eax, eax
jne 0x405052
mov dword [0x52b0d8], 1
mov dword [edi + 0x38], eax
test eax, eax
je 0x4054f4
push 0x54
lea ecx, [esp + 0x28]
push 0
push ecx
call sub.MSVCR90.dll_memset
or eax, 0xffffffff
add esp, 0xc
mov ecx, ebp
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], eax
mov dword [ebp + 0x18], eax
call fcn.00433220
mov edi, eax
xor eax, eax
cmp esi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
jle 0x4054c2
mov dword [esp + 0x14], eax
jmp 0x4050b8
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x30]
je 0x40525b
jmp 0x4050ca
mov edi, dword [esp + 0x10]
lea eax, [ebx + 3]
lea esi, [edi + 1]
push eax
lea eax, [esp + 0xa4]
mov ecx, esi
call fcn.0040e400
add esp, 4
test eax, eax
je 0x4051c3
movsx eax, byte [edi + ebx + 4]
lea ecx, [eax - 1]
cmp ecx, 0x7e
ja 0x405105
push eax
call dword [sym.imp.MSVCR90.dll_isspace]
add esp, 4
test eax, eax
jne 0x405110
cmp byte [edi + ebx + 4], 0x5d
jne 0x4051c3
push 0x54
lea edx, [esp + 0x28]
push 0
push edx
call sub.MSVCR90.dll_memset
or eax, 0xffffffff
push str.looptime
push ebp
mov dword [esp + 0x68], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], eax
call fcn.00433410
add esp, 0x14
test eax, eax
je 0x405155
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esp + 0x60], eax
push str.eventID
push ebp
call fcn.00433410
add esp, 8
test eax, eax
je 0x405175
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esp + 0x50], eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x48]
push eax
push str._i__i__i__i__i__i__i__i__i__i
mov eax, str.ctrlid
mov ecx, ebp
call fcn.00433790
add esp, 0x2c
mov dword [esp + eax*4 + 0x24], 0xffffffff
lea ecx, [esp + 0x78]
mov eax, esi
call fcn.0040e3a0
test eax, eax
je 0x4051f4
movsx eax, byte [edi + ebx + 1]
lea ecx, [eax - 1]
cmp ecx, 0x7e
ja 0x4051ed
push eax
call dword [sym.imp.MSVCR90.dll_isspace]
add esp, 4
test eax, eax
jne 0x40525b
cmp byte [edi + ebx + 1], 0x5d
je 0x40525b
mov esi, 1
add dword [ebp + 0x18], esi
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0x30]
jl 0x40520e
mov dword [esp + 0x10], 0
jmp 0x40524f
mov edx, dword [ebp + 0x2c]
lea ecx, [edx + eax*4]
mov eax, dword [ecx]
inc eax
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x24]
mov edx, dword [eax + edx*4]
sub edx, dword [ebp + 4]
mov dword [ebp + 0x10], edx
mov ecx, dword [ecx]
mov edx, dword [eax + ecx*4]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp + 0x28]
mov dword [ebp + 0x1c], 0
jge 0x405248
mov eax, dword [eax + ecx*4]
cmp byte [eax], 0x5b
jne 0x40524b
mov dword [ebp + 0x1c], esi
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp + 0x30]
jne 0x4050c6
mov edx, dword [esp + 0xd0]
mov ebx, dword [edx + 0x38]
add ebx, dword [esp + 0x14]
mov ecx, 0x15
lea esi, [esp + 0x24]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x24]
push eax
lea ecx, [ebx + 0x20]
push ecx
lea edx, [ebx + 0x1c]
push edx
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebx + 0x14]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebx + 8]
push ecx
lea edx, [ebx + 4]
push edx
push ebx
push str._i__i__i__i__i__i__i__i__i__i
mov eax, str.ctrlid
mov ecx, ebp
call fcn.00433790
add esp, 0x2c
mov dword [ebx + eax*4], 0xffffffff
cmp dword [ebx], 0xffffffff
jne 0x4052c8
mov ecx, 0xb
lea esi, [esp + 0x24]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push str.type
push ebp
call fcn.00433410
mov esi, eax
add esp, 8
test esi, esi
je 0x4054d2
mov edi, dword [sym.imp.MSVCR90.dll__stricmp]
push str.visible
push esi
call edi
add esp, 8
test eax, eax
jne 0x405301
mov dword [ebx + 0x30], 1
jmp 0x4053fb
push str.enable
push esi
call edi
add esp, 8
test eax, eax
jne 0x40531c
mov dword [ebx + 0x30], 2
jmp 0x4053fb
push str.velset
push esi
call edi
add esp, 8
test eax, eax
jne 0x405337
mov dword [ebx + 0x30], 4
jmp 0x4053fb
push str.veladd
push esi
call edi
add esp, 8
test eax, eax
jne 0x405352
mov dword [ebx + 0x30], 6
jmp 0x4053fb
push str.posset
push esi
call edi
add esp, 8
test eax, eax
jne 0x40536d
mov dword [ebx + 0x30], 3
jmp 0x4053fb
push str.posadd
push esi
call edi
add esp, 8
test eax, eax
jne 0x405385
mov dword [ebx + 0x30], 5
jmp 0x4053fb
push str.anim
push esi
call edi
add esp, 8
test eax, eax
jne 0x40539d
mov dword [ebx + 0x30], 8
jmp 0x4053fb
push str.sinx
push esi
call edi
add esp, 8
test eax, eax
jne 0x4053b5
mov dword [ebx + 0x30], 0xb
jmp 0x4053fb
push str.siny
push esi
call edi
add esp, 8
test eax, eax
jne 0x4053cd
mov dword [ebx + 0x30], 0xc
jmp 0x4053fb
push str.null
push esi
call edi
add esp, 8
test eax, eax
jne 0x4053e1
mov dword [ebx + 0x30], eax
jmp 0x4053fb
push str.dummy
push esi
call edi
add esp, 8
test eax, eax
jne 0x405501
mov dword [ebx + 0x30], 0x14
lea eax, [ebx + 0x3c]
push eax
lea esi, [ebx + 0x38]
push esi
lea edi, [ebx + 0x34]
push edi
push str._i__i__i
mov eax, str.time
mov ecx, ebp
call fcn.00433790
add esp, 0x10
cmp eax, 2
jge 0x405424
mov ecx, dword [edi]
mov dword [esi], ecx
mov eax, dword [ebx + 0x30]
dec eax
cmp eax, 0xb
ja case.0x405434.7
movzx edx, byte [eax + 0x405534]
jmp dword [edx*4 + 0x405524]
add ebx, 0x40
push ebx
mov eax, str.value
mov ecx, ebp
call fcn.00433730
add esp, 4
jmp case.0x405434.7
fld dword [0x4a6c78]
lea esi, [ebx + 0x48]
add ebx, 0x44
fst dword [esi]
push ebx
fstp dword [ebx]
mov eax, 0x49ca60
mov ecx, ebp
call fcn.004336d0
push esi
mov eax, 0x49ca64
mov ecx, ebp
call fcn.004336d0
add esp, 8
jmp case.0x405434.7
lea eax, [ebx + 0x4c]
push eax
lea ecx, [ebx + 0x48]
push ecx
add ebx, 0x44
push ebx
push str._f__f__f
mov eax, str.value
mov ecx, ebp
call fcn.00433790
add esp, 0x10
mov ecx, ebp
call fcn.00433220
add dword [esp + 0x14], 0x54
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x4050b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xbc
ret
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
push str._n_i__i__s:_Missing__type__parameter.
push 0x52be60
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xbc
ret
push esi
push str._n_s:_Invalid_type:
push 0x52be60
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xbc
ret