Function at 0x509e08
Capabilities:
Set current directory

Disassembly:
mov eax, 0x5ea30e
call fcn.00594e8c
sub esp, 0x50
mov dword [ebp - 0x54], ecx
mov byte [0x683790], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11e03c], 0
mov byte [0x836570], 0
push 0
push str.PAPA
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509e4d
mov byte [0x65a4f8], 0
push 0
push str.Ellenberger
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509e6a
mov byte [0x65a4f8], 0
push 0
push str.Shine
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509e87
mov byte [0x65a4f8], 0
push 0
push str.Payumo
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509ea4
mov byte [0x65a4f8], 0
push 0
push str.Paul_Herink
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509ec1
mov byte [0x65a4f8], 0
push 0
push str.FD10
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509ede
mov byte [0x65a4f8], 0
push 0
push str.CNC_Steuerung_1033
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509efb
mov byte [0x65a4f8], 0
push 0
push str.Amanda_Horn
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509f18
mov byte [0x65a4f8], 0
push 0
push str.Richard_Lowe
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509f35
mov byte [0x65a4f8], 0
push 0
push str.david_schober
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509f52
mov byte [0x65a4f8], 0
push 0
push 0x615214
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509f6f
mov byte [0x65a4f8], 0
push 0
push str.Direkt_e.K
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509f8c
mov byte [0x65a4f8], 0
push 0
push str.GERARD_O_SULLIVAN
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509fa9
mov byte [0x65a4f8], 0
push 0
push str.GDirekt_e.K.
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509fc6
mov byte [0x65a4f8], 0
push 0
push str.Ivon_Todosijevic
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x509fe3
mov byte [0x65a4f8], 0
push 0
push str.Yelena_Morgunova
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x50a000
mov byte [0x65a4f8], 0
push 0
push str.Damir_Rupcic
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x50a01d
mov byte [0x65a4f8], 0
push 0
push str.Advanced_Control_Tech__ACT_
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x50a03a
mov byte [0x65a4f8], 0
push 0
push str.Robert_MacLaury
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x50a057
mov byte [0x65a4f8], 0
push 0
push str.MaoAA
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x50a074
mov byte [0x65a4f8], 0
push 0
push str.Maksim_Amvtonar
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x50a091
mov byte [0x65a4f8], 0
push 0
push str.rebecca_crans
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x50a0ae
mov byte [0x65a4f8], 0
push 0
push str.Vortech_CNC
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x50a0cb
mov byte [0x65a4f8], 0
push 0
push str.Alan_I__Reich
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x50a0e8
mov byte [0x65a4f8], 0
push 0
push str.Joshua_Adams
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x50a105
mov byte [0x65a4f8], 0
push 0
push str.Jeff_Sandstrom
mov ecx, 0x65a500
call fcn.0040ac3a
cmp eax, 0xffffffff
je 0x50a122
mov byte [0x65a4f8], 0
mov eax, dword [ebp - 0x54]
and dword [eax + 0x2462e8], 0
and dword [eax + 0x2462ec], 0
and dword [0x6831ac], 0
mov dword [0x68822c], 1
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x2ed8b4], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x2a2759], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x80a80], 0
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0x2ed800]
test eax, eax
je 0x50a17c
mov dword [0x682b08], 0x3e7
jmp 0x50a183
and dword [0x682b08], 0
and dword [ebp - 0x10], 0
jmp 0x50a190
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7d00
jge 0x50a1ac
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x683868]
and dword [ecx + eax*4 + 0x3d8], 0
jmp 0x50a189
or dword [0x6837c0], 0xffffffff
mov eax, dword [ebp - 0x54]
and dword [eax + 0xc3cb0], 0
movzx eax, byte [0x836510]
test eax, eax
je 0x50a225
mov eax, dword [0x683868]
movzx eax, byte [eax + 0x20b30]
test eax, eax
je 0x50a225
lea ecx, [ebp - 0x14]
call fcn.0040b0ee
and dword [ebp - 4], 0
fld qword [0x683850]
push ecx
push ecx
fstp qword [esp]
push str.Warning___one_or_more_axis_are_tuned_too_fast_for_current_kernel_speed_of__.0f
lea eax, [ebp - 0x14]
push eax
call fcn.0040ad5c
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00517034
push eax
call fcn.005ca8fc
mov byte [0x836510], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040b121
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x2a272c], 0
movzx eax, byte [0x683c9b]
test eax, eax
je 0x50a282
mov eax, dword [0x683c8c]
cmp eax, dword [0x683c88]
je 0x50a282
push 0
push str.AutoCor
push 0x615370
mov ecx, dword [0x65a4f0]
call fcn.0051d70b
and dword [0x683c8c], 0
and dword [0x683c88], 0
mov byte [0x65a4f8], 0
push 0x61537c
mov ecx, 0x65a500
call fcn.0040b14b
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x29e778], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x2ed648], 0
mov ecx, dword [0x683868]
call fcn.004672c4
movzx eax, al
test eax, eax
jne 0x50a2c0
push str.Warning:_License_has_Expired.
mov ecx, dword [ebp - 0x54]
add ecx, 0x11bb0c
call fcn.0040b14b
jmp 0x50aabc
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x2ed380], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x29e358], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x2ed348], 0
mov eax, dword [ebp - 0x54]
and dword [eax + 0x2462f4], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x24630a], 0
mov eax, dword [ebp - 0x54]
and dword [eax + 0x2461dc], 0
mov eax, dword [ebp - 0x54]
and dword [eax + 0x2461d4], 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x2461d4]
shl eax, 4
mov ecx, dword [ebp - 0x54]
mov dword [ecx + eax + 0x2ed8b8], 0x98967f
mov eax, dword [ebp - 0x54]
and dword [eax + 0x11f888], 0
and dword [ebp - 0x18], 0
jmp 0x50a337
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 6
jge 0x50a36d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax*4 + 0x65173c]
shl eax, 4
mov byte [eax + 0x682d70], 0
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x60
mov byte [eax + 0x682af4], 0
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x60
mov byte [eax + 0x682af5], 0
jmp 0x50a330
and dword [ebp - 0x1c], 0
jmp 0x50a37a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x10
jge 0x50a39c
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x2461d4]
shl eax, 4
mov ecx, dword [ebp - 0x54]
mov dword [ecx + eax + 0x2ed8b8], 0x98967f
jmp 0x50a373
mov byte [0x6837a0], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x2462f0], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x23f8c8], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11f82d], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x8f370], 0
and dword [0x6834c4], 0
and dword [0x6834d4], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11bb59], 0
and dword [0x683598], 0
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x11cd0c], 0
jle 0x50a404
push dword [0x7c3eac]
mov ecx, dword [ebp - 0x54]
call fcn.00513323
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11f869], 1
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0x11f82b]
test eax, eax
je 0x50a426
mov dword [0x683798], 0x1388
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11f829], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11f82a], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11cd80], 0
mov byte [0x8063f0], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11f868], 0
mov eax, dword [ebp - 0x54]
and word [eax + 0x86bf0], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11f76d], 0
mov ecx, dword [ebp - 0x54]
call fcn.005142df
mov eax, dword [ebp - 0x54]
and word [eax + 0x86bf2], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11f011], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11df10], 0
mov eax, dword [ebp - 0x54]
fld1
fstp qword [eax + 0x11e020]
and dword [0x683800], 0
mov byte [0x6835f8], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0xc3cac], 0
mov eax, dword [ebp - 0x54]
and dword [eax + 0x11cd0c], 0
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0xc3630]
test eax, eax
je 0x50a4e9
mov eax, dword [ebp - 0x54]
mov byte [eax + 0xc3630], 0
push 0x6153a0
mov ecx, dword [ebp - 0x54]
add ecx, 0x11bb0c
call fcn.0040b14b
fldz
fstp qword [0x69dc30]
and dword [0x683754], 0
movzx eax, byte [0x683457]
test eax, eax
jne 0x50a5a5
mov byte [0x683457], 1
mov dword [0x6835c8], 2
and dword [ebp - 0x24], 0
jmp 0x50a525
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1e
jge 0x50a542
cmp dword [ebp - 0x24], 0xf
jne 0x50a533
jmp 0x50a51e
mov eax, dword [ebp - 0x24]
imul eax, eax, 5
mov byte [eax + 0x6830bc], 0
jmp 0x50a51e
mov ecx, dword [ebp - 0x54]
add ecx, 0x11f090
call fcn.004c2941
mov ecx, dword [0x68385c]
add ecx, 0x80bbc
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.Emergency
lea ecx, [ebp - 0x20]
call fcn.0040e04b
mov dword [ebp - 4], 1
push 1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.004fe8ec
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11f86d], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040b121
jmp 0x50aa7d
movzx eax, byte [0x683808]
test eax, eax
je 0x50a62d
movzx eax, byte [0x682f18]
test eax, eax
je 0x50a5c6
movzx eax, byte [0x682f20]
test eax, eax
jne 0x50a5dc
movzx eax, byte [0x682f28]
test eax, eax
je 0x50a62d
movzx eax, byte [0x682f30]
test eax, eax
je 0x50a62d
push str.THC_Up_or_Down_Signal_Active._Clear_it_first.
mov ecx, dword [ebp - 0x54]
call fcn.004ef240
and dword [ebp - 0x28], 0
jmp 0x50a5f6
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [0x683f58]
jge 0x50a628
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 0x686f60]
test eax, eax
je 0x50a626
mov eax, dword [ebp - 0x28]
cmp dword [eax*4 + 0x686360], 0
je 0x50a626
mov eax, dword [ebp - 0x28]
call dword [eax*4 + 0x686360]
jmp 0x50a5ef
jmp 0x50aabc
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11f86d], 0
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0xc3598]
test eax, eax
jne 0x50a654
mov eax, dword [ebp - 0x54]
fld qword [0x5f4e58]
fstp qword [eax + 0x11bb40]
and dword [0x6834d4], 0
mov eax, dword [ebp - 0x54]
fld1
fstp qword [eax + 0x11e020]
mov eax, dword [0x682a78]
mov dword [0x682a7c], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0xc3560]
mov dword [eax + 0xc355c], ecx
mov eax, dword [ebp - 0x54]
and dword [eax + 0xc3cb0], 0
mov byte [0x682abe], 1
mov ecx, dword [ebp - 0x54]
add ecx, 0x2ab368
call fcn.004dd739
mov byte [0x682ef8], 0
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0x11df31]
test eax, eax
je 0x50a6bd
mov byte [0x6835ad], 1
mov byte [0x683457], 0
push str.
mov ecx, dword [ebp - 0x54]
add ecx, 0x11c508
call fcn.0040b14b
and dword [ebp - 0x2c], 0
jmp 0x50a6e4
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 6
jge 0x50a6f9
mov eax, dword [ebp - 0x2c]
imul eax, eax, 0x60
and dword [eax + 0x682ad8], 0
jmp 0x50a6dd
mov byte [0x6830c1], 1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x682ef8], 0
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x682ef8], 1
movzx eax, byte [0x683457]
test eax, eax
je 0x50a858
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0x11bb59]
test eax, eax
jne 0x50a858
mov byte [0x6830c1], 0
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0x23f8d8]
test eax, eax
je 0x50a7f2
push 0x74
call fcn.0040aad6
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x48], 0
je 0x50a77e
push 0
mov ecx, dword [ebp - 0x48]
call fcn.0049ceb3
mov dword [ebp - 0x58], eax
jmp 0x50a782
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x44], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
call dword [eax + 0x140]
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x70], 0
je 0x50a7ca
push 0
push str.WarnOnReset
push 0x6153f8
mov ecx, dword [0x65a4f0]
call fcn.0051d70b
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x23f8d8], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x50a7ee
push 1
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 4]
mov dword [ebp - 0x5c], eax
jmp 0x50a7f2
and dword [ebp - 0x5c], 0
and dword [ebp - 0x34], 0
jmp 0x50a7ff
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x1e
jge 0x50a814
mov eax, dword [ebp - 0x34]
imul eax, eax, 5
mov byte [eax + 0x6830bc], 0
jmp 0x50a7f8
and dword [ebp - 0x38], 0
jmp 0x50a821
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [0x683f58]
jge 0x50a853
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 0x686f60]
test eax, eax
je 0x50a851
mov eax, dword [ebp - 0x38]
cmp dword [eax*4 + 0x686360], 0
je 0x50a851
mov eax, dword [ebp - 0x38]
call dword [eax*4 + 0x686360]
jmp 0x50a81a
jmp 0x50aabc
movzx eax, byte [0x6830bd]
test eax, eax
je 0x50a878
movzx eax, byte [0x682aeb]
test eax, eax
je 0x50a878
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11cd83], 1
movzx eax, byte [0x6830c2]
test eax, eax
je 0x50a898
movzx eax, byte [0x682b4b]
test eax, eax
je 0x50a898
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11cd84], 1
movzx eax, byte [0x6830c7]
test eax, eax
je 0x50a8b8
movzx eax, byte [0x682bab]
test eax, eax
je 0x50a8b8
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11cd85], 1
movzx eax, byte [0x6830cc]
test eax, eax
je 0x50a8d8
movzx eax, byte [0x682c0b]
test eax, eax
je 0x50a8d8
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11cd86], 1
movzx eax, byte [0x6830d1]
test eax, eax
je 0x50a8f8
movzx eax, byte [0x682c6b]
test eax, eax
je 0x50a8f8
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11cd87], 1
movzx eax, byte [0x6830d6]
test eax, eax
je 0x50a918
movzx eax, byte [0x682ccb]
test eax, eax
je 0x50a918
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11cd88], 1
mov eax, dword [ebp - 0x54]
and dword [eax + 0x11cd8c], 0
and dword [0x6834d4], 0
mov eax, dword [ebp - 0x54]
and dword [eax + 0x11dda0], 0
mov byte [0x6837d1], 0
push 0x615404
mov ecx, dword [ebp - 0x54]
add ecx, 0x11bb0c
call fcn.0040b14b
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0x11dbf8]
test eax, eax
je 0x50a999
mov ecx, dword [ebp - 0x54]
call fcn.004f792f
push str._Initialization_Macro_Called_on_reset.
mov ecx, dword [ebp - 0x54]
call fcn.004ef240
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11f82c], 1
mov eax, dword [ebp - 0x54]
and dword [eax + 0x11bb00], 0
push 0
mov eax, dword [ebp - 0x54]
add eax, 0x11dbf4
push eax
mov ecx, dword [ebp - 0x54]
call fcn.00503687
jmp 0x50a9da
movzx eax, byte [0x651738]
test eax, eax
je 0x50a9da
mov byte [0x651738], 0
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x11f82c], 1
mov ecx, dword [ebp - 0x54]
call fcn.004f792f
mov eax, dword [ebp - 0x54]
and dword [eax + 0x11bb00], 0
push 0
mov eax, dword [ebp - 0x54]
add eax, 0x11dbf4
push eax
mov ecx, dword [ebp - 0x54]
call fcn.00503687
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x11f874], 0
je 0x50aa7d
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x11f874]
mov ecx, dword [eax + 0x40]
call fcn.004bfc90
movsx eax, ax
test eax, eax
je 0x50aa7d
push 1
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x11f874]
mov ecx, dword [eax + 0x40]
call fcn.004bf53e
push 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x11f874]
mov ecx, dword [eax + 0x40]
call fcn.004bf53e
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x11f874]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0x11f874]
mov eax, dword [eax]
call dword [eax + 0x5c]
and dword [ebp - 0x3c], 0
jmp 0x50aa4c
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x11f874]
mov eax, dword [eax + 0x40]
movsx eax, word [eax + 0x1978]
cmp dword [ebp - 0x3c], eax
jge 0x50aa7d
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x11f874]
mov eax, dword [eax + 0x40]
mov ecx, dword [ebp - 0x3c]
and dword [eax + ecx*4 + 0xb70], 0
jmp 0x50aa45
and dword [ebp - 0x40], 0
jmp 0x50aa8a
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [0x683f58]
jge 0x50aabc
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax + 0x686f60]
test eax, eax
je 0x50aaba
mov eax, dword [ebp - 0x40]
cmp dword [eax*4 + 0x686360], 0
je 0x50aaba
mov eax, dword [ebp - 0x40]
call dword [eax*4 + 0x686360]
jmp 0x50aa83
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret