Function at 0x53ef04
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x53ef0d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x34], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x28]
call fcn.004055e8
xor eax, eax
push ebp
push 0x53fad3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0053fc00
mov dword [ebx + 0x18], edi
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x14], 0
jne 0x53ef6d
mov eax, dword [ebx + 0x34]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x10], 0
jne 0x53ef79
mov eax, dword [ebx + 0x38]
mov dword [ebp + 0x10], eax
call sub.kernel32.dll_GetTickCount
cmp eax, dword [ebx + 0x3c]
ja 0x53ef8c
cmp esi, dword [ebx + 0x44]
je 0x53fa2d
mov dword [ebx + 0x44], esi
call sub.kernel32.dll_GetTickCount
add eax, 0x64
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, ebx
call fcn.0053fc00
mov eax, dword [ebp + 0x14]
call fcn.00485bfc
xor eax, eax
mov dword [ebx + 0x20], eax
xor eax, eax
mov dword [ebx + 0x24], eax
movzx eax, byte [ebp + 0x20]
mov byte [ebx + 0x28], al
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x55], 0
mov eax, dword [0x68e3f8]
mov eax, dword [eax]
mov edx, 0x53fae8
call fcn.004852c4
mov dword [ebp - 0x44], eax
cmp byte [ebp + 0x18], 0
je 0x53efef
mov dword [ebp - 0x38], 0xe
jmp 0x53eff6
mov dword [ebp - 0x38], 5
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
cmp dword [ebp + 0x28], 0
je 0x53f9ee
mov eax, dword [0x68e9b0]
mov eax, dword [eax]
sub eax, 0x14
cmp eax, dword [ebp - 0x38]
jg 0x53f05a
cmp byte [ebp + 0x18], 0
je 0x53f034
mov eax, dword [ebp - 0x38]
add eax, 9
cmp eax, dword [ebx + 0x24]
jle 0x53f04b
mov eax, dword [ebx + 0x24]
add eax, dword [ebp - 0x38]
add eax, 9
mov dword [ebx + 0x24], eax
jmp 0x53f04b
mov eax, dword [ebp - 0x38]
add eax, 3
cmp eax, dword [ebx + 0x24]
jle 0x53f04b
mov eax, dword [ebx + 0x24]
add eax, dword [ebp - 0x38]
add eax, 3
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x20]
add eax, 0xa
mov dword [ebp - 0x3c], eax
push 0
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 0xc4], 0x5c
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 4]
mov eax, dword [ebp + 0x28]
call fcn.00488b74
mov edx, dword [ebp - 0xc0]
lea eax, [ebp + 0x28]
call fcn.004051f0
cmp byte [ebp + 0x18], 0
je 0x53f097
mov esi, dword [ebp - 0x3c]
add esi, 0xc
jmp 0x53f09d
mov esi, dword [ebp - 0x3c]
add esi, 7
cmp dword [ebp - 4], 0
je 0x53effc
jmp 0x53f934
lea eax, [ebp - 8]
call fcn.00405158
mov eax, dword [ebp - 4]
cmp byte [eax], 0x3c
je 0x53f0f0
push 0
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 0xc4], 0x3c
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00488b74
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 4]
mov edx, 0x53faf4
call fcn.00405480
cmp dword [ebp - 8], 0
je 0x53f143
lea eax, [ebp - 0xcc]
mov edx, dword [ebp - 8]
call fcn.00405adc
mov eax, dword [ebp - 0xcc]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, esi
mov eax, dword [ebp + 0x14]
call fcn.00486750
lea eax, [ebp - 0xd0]
mov edx, dword [ebp - 8]
call fcn.00405adc
mov edx, dword [ebp - 0xd0]
mov eax, dword [0x68e3f8]
mov eax, dword [eax]
call fcn.004857a0
add esi, eax
jmp 0x53f934
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xd4]
push eax
mov ecx, 0x53fb00
mov edx, 0x53faf4
mov eax, dword [ebp - 4]
call fcn.00489044
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 4]
call fcn.004051f0
cmp dword [ebp - 0xc], 0
je 0x53f7f8
mov ecx, 5
mov edx, 0x53fb0c
mov eax, dword [ebp - 0xc]
call fcn.004891e4
test al, al
je 0x53f1bf
push 0
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 0xc4], 0x3d
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00488b74
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x18]
call fcn.0040a1d0
mov dword [ebp - 0x48], eax
jmp 0x53f934
mov ecx, 8
mov edx, 0x53fb1c
mov eax, dword [ebp - 0xc]
call fcn.004891e4
test al, al
je 0x53f1e9
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004051f0
mov byte [ebp - 0x55], 1
jmp 0x53f934
mov ecx, 1
mov edx, 0x53fb30
mov eax, dword [ebp - 0xc]
call fcn.004891e4
test al, al
je 0x53f22e
push 0
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0xc4], 0x3d
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00488b74
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0040a1d0
add esi, eax
jmp 0x53f934
mov ecx, 1
mov edx, 0x53fb3c
mov eax, dword [ebp - 0xc]
call fcn.004891e4
test al, al
je 0x53f274
push 0
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0xc4], 0x3d
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00488b74
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0040a1d0
add dword [ebp - 0x38], eax
jmp 0x53f934
mov edx, 0x53fb48
mov eax, dword [ebp - 0xc]
call fcn.00409b78
test eax, eax
jne 0x53f290
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
jmp 0x53f934
mov edx, 0x53fb58
mov eax, dword [ebp - 0xc]
call fcn.00409b78
test eax, eax
jne 0x53f2e6
cmp byte [ebp + 0x18], 0
je 0x53f2bd
mov eax, dword [ebp - 0x38]
add eax, 9
cmp eax, dword [ebx + 0x24]
jle 0x53f2d1
mov eax, dword [ebp - 0x38]
add eax, 9
mov dword [ebx + 0x24], eax
jmp 0x53f2d1
mov eax, dword [ebp - 0x38]
add eax, 3
cmp eax, dword [ebx + 0x24]
jle 0x53f2d1
mov eax, dword [ebp - 0x38]
add eax, 3
mov dword [ebx + 0x24], eax
mov dword [ebp - 0x38], 0xe
mov eax, dword [ebx + 0x20]
add eax, 0xa
mov dword [ebp - 0x3c], eax
jmp 0x53f934
mov edx, 0x53fb68
mov eax, dword [ebp - 0xc]
call fcn.00409b78
test eax, eax
jne 0x53f353
add dword [ebp - 0x38], 4
mov eax, 0x2c
call fcn.00402f54
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
xor ecx, ecx
mov edx, 0x2c
call fcn.004883d0
mov eax, dword [ebp - 0x94]
mov byte [eax + 0x2a], 1
mov eax, dword [ebp - 0x94]
mov dword [eax + 8], esi
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x38]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp + 0x10]
call fcn.0041a1b0
add dword [ebp - 0x38], 5
jmp 0x53f934
mov ecx, 3
mov edx, 0x53fb78
mov eax, dword [ebp - 0xc]
call fcn.004891e4
test al, al
je 0x53f7b6
push 0
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0xc4], 0x3d
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00488b74
mov byte [ebp - 0x57], 1
mov byte [ebp - 0x56], 0
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x78], 0xffffffff
xor eax, eax
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x5c], 0x64
mov byte [ebp - 0x5d], 0
mov dword [ebp - 0x64], 0xff
mov byte [ebp - 0x95], 0
cmp dword [ebp - 0x10], 0
je 0x53f6b7
push 0
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 0xc4], 0x2c
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00488b74
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x10]
call fcn.004051f0
cmp dword [ebp - 0x20], 0
je 0x53f6b7
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 0x20]
call fcn.004099f4
mov edx, dword [ebp - 0xdc]
lea eax, [ebp - 0x20]
call fcn.004051f0
push 0
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 0xc4], 0x2e
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00488b74
cmp dword [ebp - 0x24], 0
je case.0x53f46e.99
cmp dword [ebp - 0x28], 0
je case.0x53f46e.99
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
add eax, 0xffffff9f
cmp eax, 0x18
ja case.0x53f46e.99
movzx eax, byte [eax + 0x53f475]
jmp dword [eax*4 + 0x53f48e]
or edx, 0xffffffff
mov eax, dword [ebp - 0x28]
call fcn.0040a1d0
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jl 0x53f4d7
cmp dword [ebp - 0x74], 0x10c
jle case.0x53f46e.99
mov dword [ebp - 0x74], 0xffffffff
jmp case.0x53f46e.99
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x2c]
push eax
mov eax, dword [ebp - 0x28]
call fcn.004055f8
mov ecx, eax
mov edx, 0x53fb7c
mov eax, 0x53fb9c
call fcn.00419ee4
test eax, eax
jle 0x53f617
xor eax, eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x68]
jle case.0x53f46e.99
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebx + 0x2c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, 0x53fbc4
call fcn.00405744
test eax, eax
jle 0x53f60f
push 0
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 0xc4], 0x2d
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
call fcn.00488b74
xor edx, edx
mov eax, dword [ebp - 0x2c]
call fcn.0040a1d0
mov dword [ebp - 0x6c], eax
xor edx, edx
mov eax, dword [ebp - 0x30]
call fcn.0040a1d0
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x6c], 0
jne 0x53f58d
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x70], 0
jne 0x53f599
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x70]
jle 0x53f5a7
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x68]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
cmp dword [ebp - 0x6c], 0
je 0x53f515
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
sub edx, eax
jl 0x53f515
inc edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x8c], eax
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x8c]
call fcn.0040a028
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebx + 0x2c]
mov edi, dword [eax]
call dword [edi + 0x60]
inc dword [ebp - 0x68]
inc dword [ebp - 0x8c]
dec dword [ebp - 0x9c]
jne 0x53f5d7
jmp 0x53f515
inc dword [ebp - 0x68]
jmp 0x53f515
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x53f46e.99
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.0040a1d0
mov dword [ebp - 0x7c], eax
jmp case.0x53f46e.99
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.0040a1d0
mov dword [ebp - 0x80], eax
jmp case.0x53f46e.99
mov eax, dword [ebp - 0x28]
mov edx, 0x53fbd0
call fcn.00405590
sete byte [ebp - 0x95]
jmp case.0x53f46e.99
mov eax, dword [ebp - 0x28]
mov edx, 0x53fbd0
call fcn.00405590
sete byte [ebp - 0x57]
jmp case.0x53f46e.99
mov eax, dword [ebp - 0x28]
mov edx, 0x53fbd0
call fcn.00405590
sete byte [ebp - 0x56]
jmp case.0x53f46e.99
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.0040a1d0
mov dword [ebp - 0x5c], eax
jmp case.0x53f46e.99
mov edx, 0xff
mov eax, dword [ebp - 0x28]
call fcn.0040a1d0
mov dword [ebp - 0x64], eax
jmp case.0x53f46e.99
cmp dword [ebp - 0x74], 0xffffffff
jle 0x53f934
mov eax, dword [0x68ede4]
mov edx, dword [ebp - 0x74]
cmp dword [eax + edx*4], 0
je 0x53f934
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x53f934
cmp dword [ebp - 0x7c], 0
jne 0x53f6ec
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x80], 0
jne 0x53f6f8
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x80], eax
mov eax, 0x2c
call fcn.00402f54
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
xor ecx, ecx
mov edx, 0x2c
call fcn.004883d0
mov eax, dword [0x68ede4]
mov edx, dword [ebp - 0x74]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x94]
mov dword [edx], eax
mov eax, dword [ebp - 0x94]
mov edx, dword [ebx + 0x2c]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x7c]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x80]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x94]
movzx edx, byte [ebp - 0x57]
mov byte [eax + 0x21], dl
movzx eax, byte [ebp - 0x64]
mov edx, dword [ebp - 0x94]
mov byte [edx + 0x22], al
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x94]
movzx edx, byte [ebp - 0x95]
mov byte [eax + 0x29], dl
mov eax, dword [ebp - 0x94]
movzx edx, byte [ebp - 0x56]
mov byte [eax + 0x28], dl
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp + 0x10]
call fcn.0041a1b0
mov dl, 1
mov eax, dword [0x4180c0]
call fcn.004042fc
mov dword [ebx + 0x2c], eax
jmp 0x53f934
push 0
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0xc4], 0x5e
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0xc]
call fcn.00488b74
cmp dword [ebp - 0x14], 0
jne 0x53f7f8
push 0
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0xc4], 0x2f
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0xc]
call fcn.00488b74
cmp dword [ebp - 0xc], 0
je 0x53f934
lea eax, [ebp - 0x18]
call fcn.00405158
lea eax, [ebp - 0x1c]
call fcn.00405158
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x14]
mov eax, 0x53fbdc
call fcn.00405744
test eax, eax
jle 0x53f849
push 0
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 0xc4], 0x2c
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00488b74
jmp 0x53f854
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.004051f0
mov ecx, 6
mov edx, 0x53fbe8
mov eax, dword [ebp - 0x18]
call fcn.004891e4
test al, al
je 0x53f8a7
push 0
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 0xc4], 0x3d
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
call fcn.00488b74
mov edx, dword [ebp - 0xe4]
lea eax, [ebp - 0x18]
call fcn.004051f0
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x18]
call fcn.0040a1d0
mov dword [ebp - 0x50], eax
mov ecx, 6
mov edx, 0x53fbf8
mov eax, dword [ebp - 0x1c]
call fcn.004891e4
test al, al
je 0x53f8ec
push 0
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 0xc4], 0x3d
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.00488b74
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0x1c]
call fcn.004051f0
lea eax, [ebp - 0xec]
mov edx, dword [ebp - 0xc]
call fcn.00405adc
mov eax, dword [ebp - 0xec]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, esi
mov eax, dword [ebp + 0x14]
call fcn.00486750
lea eax, [ebp - 0xf0]
mov edx, dword [ebp - 0xc]
call fcn.00405adc
mov edx, dword [ebp - 0xf0]
mov eax, dword [0x68e3f8]
mov eax, dword [eax]
call fcn.004857a0
add esi, eax
mov edx, dword [ebp - 4]
mov eax, 0x53faf4
call fcn.00405744
test eax, eax
jle 0x53f960
mov edx, dword [ebp - 4]
mov eax, 0x53fb00
call fcn.00405744
test eax, eax
jle 0x53f960
cmp dword [ebp - 4], 0
jne 0x53f0ac
cmp dword [ebp - 4], 0
je 0x53f9ae
lea eax, [ebp - 0xf4]
mov edx, dword [ebp - 4]
call fcn.00405adc
mov eax, dword [ebp - 0xf4]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, esi
mov eax, dword [ebp + 0x14]
call fcn.00486750
lea eax, [ebp - 0xf8]
mov edx, dword [ebp - 4]
call fcn.00405adc
mov edx, dword [ebp - 0xf8]
mov eax, dword [0x68e3f8]
mov eax, dword [eax]
call fcn.004857a0
add esi, eax
cmp byte [ebp - 0x55], 0
je 0x53f9ba
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x55], 0
cmp byte [ebp + 0x18], 0
je 0x53f9d4
lea eax, [esi + 0xa]
cmp eax, dword [ebx + 0x20]
jle 0x53f9e2
add esi, 0xa
mov dword [ebx + 0x20], esi
jmp 0x53f9e2
lea eax, [esi + 5]
cmp eax, dword [ebx + 0x20]
jle 0x53f9e2
add esi, 5
mov dword [ebx + 0x20], esi
mov eax, dword [ebp - 0x44]
inc eax
add dword [ebp - 0x38], eax
jmp 0x53effc
cmp byte [ebp + 0x18], 0
je 0x53fa09
push 0
push 0x96
mov eax, dword [ebx + 0x20]
cdq
push edx
push eax
call fcn.00489328
mov dword [ebx + 0x20], eax
cmp byte [ebp + 0x18], 0
je 0x53fa1f
mov eax, dword [ebp - 0x38]
add eax, 9
cmp eax, dword [ebx + 0x24]
jle 0x53fa2d
mov dword [ebx + 0x24], eax
jmp 0x53fa2d
mov eax, dword [ebp - 0x38]
add eax, 3
cmp eax, dword [ebx + 0x24]
jle 0x53fa2d
mov dword [ebx + 0x24], eax
cmp byte [ebx + 0x28], 0
je 0x53fa39
mov eax, dword [ebx + 0x24]
sub dword [ebx + 0x1c], eax
cmp byte [ebp + 0x18], 0
je 0x53fa55
cmp dword [ebx + 0x18], 0x172
jle 0x53fa55
mov eax, dword [ebx + 0x20]
sar eax, 1
jns 0x53fa52
adc eax, 0
sub dword [ebx + 0x18], eax
mov byte [ebx + 0x40], 1
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0x20]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0x24]
mov dword [eax + 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53fada
lea eax, [ebp - 0xf8]
mov edx, 4
call fcn.00405988
lea eax, [ebp - 0xe8]
mov edx, 6
call fcn.0040517c
lea eax, [ebp - 0xd0]
mov edx, 2
call fcn.00405988
lea eax, [ebp - 0xc8]
call fcn.00405158
lea eax, [ebp - 0xc0]
call fcn.00405158
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.0040517c
lea eax, [ebp + 0x28]
call fcn.00405158
ret