Function at 0x40c240
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a48d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0xa8], ebp
xor ebx, ebx
mov dword [esp + 0xe8], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xec], 3
call fcn.00475930
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 4
call fcn.00475930
mov cl, byte [esp + 0x13]
mov dword [esp + 0x44], ebx
mov byte [esp + 0x40], cl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x58], ebx
mov byte [esp + 0x54], dl
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x64], al
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0xc0], cl
lea ecx, [esp + 0xc0]
mov byte [esp + 0xec], 8
call fcn.0041ba60
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0xec], 9
call fcn.00475930
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xb0]
mov byte [esp + 0xec], 0xa
mov dword [esp + 0x40], ebx
mov byte [esp + 0xb0], dl
call fcn.0041ba60
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4c4510
lea ecx, [esp + 0xb4]
call fcn.0041c100
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x78]
mov byte [esp + 0xec], 0xb
mov byte [esp + 0x78], al
call fcn.0041ba60
mov edi, 0x4bc1b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4bc1b0
lea ecx, [esp + 0x7c]
call fcn.0041c100
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x98], cl
lea ecx, [esp + 0x98]
mov byte [esp + 0xec], 0xc
call fcn.0041ba60
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4c4510
lea ecx, [esp + 0x9c]
call fcn.0041c100
push ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0xec], 0xd
call fcn.00475930
mov ecx, dword [0x4c4548]
mov byte [esp + 0xe8], 0xe
call fcn.00442a80
push ecx
cmp ax, 0x3d00
mov ecx, esp
je 0x40c40c
mov dword [esp + 0x88], esp
jmp 0x40c413
mov dword [esp + 0x88], esp
push 3
push 0x4bc1ac
call fcn.004759a0
lea ecx, [esp + 0x54]
call fcn.00475ae0
push 0x41
lea ecx, [esp + 0x20]
call fcn.00475ce0
mov dl, byte [0x4c4564]
lea ecx, [esp + 0x1c]
push edx
call fcn.00475ce0
push 0x4c452c
lea ecx, [esp + 0x20]
call fcn.00475a90
mov eax, dword [esp + 0xf8]
lea ecx, [esp + 0x1c]
add eax, 0x24
push eax
call fcn.00475a90
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x88], esp
push edx
call fcn.00475910
sub esp, 0x10
lea eax, [esp + 0x27]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
push str.ECU0C.DB
mov byte [esp + 0x104], 0xf
call fcn.0041b350
lea ecx, [esp + 0x54]
mov byte [esp + 0xfc], 0xe
push ecx
mov ecx, dword [0x4c4560]
call fcn.0042cec0
cmp ax, bx
jne 0x40c6dd
lea ecx, [esp + 0x50]
mov byte [esp + 0xe8], 0xd
call fcn.00475a40
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xec], 0xc
call fcn.0041ba60
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xec], 0xb
call fcn.0041ba60
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0xec], 0xa
call fcn.0041ba60
lea ecx, [esp + 0x30]
mov byte [esp + 0xe8], 9
call fcn.00475a40
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0xec], 8
call fcn.0041ba60
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
cmp esi, eax
mov byte [esp + 0xe8], 7
mov edi, eax
je 0x40c55a
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x40c547
mov esi, dword [esp + 0x68]
push esi
call fcn.00498130
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov byte [esp + 0xe8], 6
je 0x40c596
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x40c583
mov esi, dword [esp + 0x58]
push esi
call fcn.00498130
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
add esp, 4
cmp esi, edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0xe8], 5
je 0x40c5d2
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40c5bf
mov esi, dword [esp + 0x44]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0xe8], 4
call fcn.00475a40
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 3
call fcn.00475a40
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, eax
mov byte [esp + 0xe8], 2
mov edi, eax
je 0x40c632
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40c61f
mov esi, dword [esp + 0x24]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0xf0]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0xe8], 1
call fcn.00475a40
mov edi, dword [esp + 0xfc]
mov esi, dword [esp + 0xf8]
cmp esi, edi
mov byte [esp + 0xe8], bl
je 0x40c68a
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40c674
mov esi, dword [esp + 0xf8]
push esi
call fcn.00498130
mov edi, dword [esp + 0x110]
mov esi, dword [esp + 0x10c]
add esp, 4
cmp esi, edi
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0xe8], 0xffffffff
je 0x40d3cc
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40c6c9
jmp 0x40d3c5
mov edx, dword [esp + 0x44]
push 1
lea esi, [edx + 4]
mov ecx, esi
call fcn.00475c70
mov dl, al
push ebx
and edx, 0xff
mov ecx, esi
shl edx, 8
mov dword [esp + 0x38], edx
call fcn.00475c70
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
and eax, 0xff
push ebx
add ecx, eax
mov dword [esp + 0x90], ecx
lea ecx, [edx + 0x20]
call fcn.00475c70
lea eax, [esp + 0x30]
push 2
push eax
push 1
lea ecx, [esp + 0x100]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
push eax
call fcn.00475910
push ebx
push 4
lea ecx, [esp + 0x54]
mov byte [esp + 0xfc], 0x10
call fcn.0041b6f0
mov ecx, eax
call fcn.00475c70
push eax
lea edx, [esp + 0x104]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.0041b450
mov ecx, ebp
mov byte [esp + 0x108], 0xe
call fcn.0040ab60
cmp ax, bx
mov dword [esp + 0x84], eax
jne 0x40c9bc
lea ecx, [esp + 0x50]
mov byte [esp + 0xe8], 0xd
call fcn.00475a40
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xec], 0xc
call fcn.0041ba60
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xec], 0xb
call fcn.0041ba60
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0xec], 0xa
call fcn.0041ba60
lea ecx, [esp + 0x30]
mov byte [esp + 0xe8], 9
call fcn.00475a40
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0xec], 8
call fcn.0041ba60
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
cmp esi, eax
mov byte [esp + 0xe8], 7
mov edi, eax
je 0x40c839
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x40c826
mov esi, dword [esp + 0x68]
push esi
call fcn.00498130
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov byte [esp + 0xe8], 6
je 0x40c875
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x40c862
mov esi, dword [esp + 0x58]
push esi
call fcn.00498130
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
add esp, 4
cmp esi, edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0xe8], 5
je 0x40c8b1
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40c89e
mov esi, dword [esp + 0x44]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0xe8], 4
call fcn.00475a40
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 3
call fcn.00475a40
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, eax
mov byte [esp + 0xe8], 2
mov edi, eax
je 0x40c911
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40c8fe
mov esi, dword [esp + 0x24]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0xf0]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0xe8], 1
call fcn.00475a40
mov edi, dword [esp + 0xfc]
mov esi, dword [esp + 0xf8]
cmp esi, edi
mov byte [esp + 0xe8], bl
je 0x40c969
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40c953
mov esi, dword [esp + 0xf8]
push esi
call fcn.00498130
mov edi, dword [esp + 0x110]
mov esi, dword [esp + 0x10c]
add esp, 4
cmp esi, edi
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0xe8], 0xffffffff
je 0x40d3cc
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40c9a8
jmp 0x40d3c5
push 1
lea ecx, [esp + 0xf8]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00475910
mov ecx, dword [0x4c4560]
call fcn.0042e560
mov esi, eax
push 2
lea ecx, [esp + 0xf8]
mov dword [esp + 0x1c], esi
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00475910
mov ecx, dword [0x4c4560]
call fcn.0042e560
mov edi, eax
push 3
lea ecx, [esp + 0xf8]
mov dword [esp + 0xa8], edi
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00475910
mov ecx, dword [0x4c4560]
call fcn.0042e560
cmp esi, eax
mov dword [esp + 0x34], eax
jge 0x40ca4b
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, edi
jle 0x40ca53
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.0041bc60
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 2
push 0x4bc19c
call fcn.004759a0
lea ecx, [esp + 0x3c]
call fcn.00475ae0
mov ecx, dword [0x4c4560]
lea edx, [esp + 0x38]
push edx
call fcn.0042e470
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x38]
push eax
push 1
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041c400
push 6
push 0x4bc1f8
lea ecx, [esp + 0x1c]
call fcn.004759a0
mov edx, dword [esp + 0x28]
push eax
push 1
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xf4], 0x11
call fcn.0041c400
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 0xe
call fcn.00475a40
push 6
push 0x4bc1f0
lea ecx, [esp + 0x1c]
call fcn.004759a0
push eax
mov eax, dword [esp + 0x2c]
push 1
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xf4], 0x12
call fcn.0041c400
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 0xe
call fcn.00475a40
push 6
push 0x4bc1e8
lea ecx, [esp + 0x1c]
call fcn.004759a0
mov ecx, dword [esp + 0x28]
push eax
push 1
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xf4], 0x13
call fcn.0041c400
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 0xe
call fcn.00475a40
push 6
push 0x4bc1e0
lea ecx, [esp + 0x1c]
call fcn.004759a0
mov edx, dword [esp + 0x28]
push eax
push 1
mov byte [esp + 0xf0], 0x14
push edx
lea ecx, [esp + 0x2c]
call fcn.0041c400
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 0xe
call fcn.00475a40
push ecx
mov byte [esp + 0x17], bl
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x4bc188
call fcn.004759a0
lea eax, [esp + 0xd4]
push eax
call fcn.00477540
add esp, 8
mov ecx, dword [0x4ad134]
mov byte [esp + 0xe8], 0x15
push ecx
push ebx
push eax
lea ecx, [esp + 0xb8]
call fcn.0041b7e0
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0xec], 0xe
call fcn.0041ba60
mov edi, 0x4bc1b0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x78]
push ebp
call fcn.0041c2e0
test al, al
je 0x40cc2d
mov edi, dword [esp + 0x78]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4bc1b0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
call fcn.0041c2c0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x74]
push eax
push ecx
sub esp, 0x10
lea edx, [esp + 0x10c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0041b450
mov esi, dword [esp + 0xc0]
mov ecx, esi
call fcn.00416d00
lea eax, [esp + 0x94]
lea edx, [esp + 0xf4]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0041b450
mov ecx, esi
call fcn.004169b0
mov edi, 0x4bc208
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4bc208
lea ecx, [esp + 0x7c]
call fcn.0041c040
mov eax, dword [0x4ad134]
lea ecx, [esp + 0x94]
push eax
push ebx
push ecx
lea ecx, [esp + 0x80]
call fcn.0041bf60
mov ecx, dword [0x4c4550]
call fcn.00434420
lea edx, [esp + 0x64]
lea eax, [esp + 0x54]
push edx
push eax
sub esp, 0x10
lea edx, [esp + 0x11c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0041b450
mov ecx, dword [0x4c4550]
call fcn.00435460
mov eax, dword [0x4c4550]
mov ecx, dword [eax + 0x44]
lea esi, [eax + 0x40]
push ecx
mov eax, dword [esi + 8]
push eax
push eax
call fcn.0041ca50
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.0041bcb0
push ecx
lea edx, [esp + 0xf4]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esi + 8], edi
call fcn.00475910
mov ecx, dword [0x4c45c4]
call fcn.004798f0
xor esi, esi
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
jne 0x40cd46
xor eax, eax
jmp 0x40cd4f
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 2
movsx ecx, si
cmp ecx, eax
jae 0x40cd7d
push 1
push ecx
lea ecx, [esp + 0x28]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00475910
mov ecx, dword [0x4c45c4]
call fcn.00479a70
inc esi
jmp 0x40cd3a
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0xdc], esp
push ebx
mov ecx, ebp
mov byte [ebp], al
call fcn.0041ba60
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], ecx
push ecx
mov ecx, ebp
call fcn.0041c2e0
test al, al
je 0x40cddd
mov eax, dword [esp + 0x24]
mov edi, dword [ebp + 4]
mov ecx, eax
mov esi, 0x4c4510
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.0041c2c0
sub esp, 0x10
lea eax, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x10c], 0x16
call fcn.0041b230
sub esp, 0x10
lea edx, [esp + 0xdc]
mov ecx, esp
mov dword [esp + 0xc0], esp
push edx
mov byte [esp + 0x11c], 0x17
call fcn.0041b230
mov ecx, dword [0x4c45c4]
mov byte [esp + 0x118], 0xe
call fcn.0047a1a0
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x108]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp ecx, ebx
jne 0x40ce48
xor eax, eax
jmp 0x40ce54
mov eax, dword [esp + 0x10c]
sub eax, ecx
sar eax, 2
movsx edi, word [esp + 0x14]
cmp edi, eax
jae 0x40cfb0
push edi
lea ecx, [esp + 0x108]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x94], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x20]
call fcn.00475ae0
lea eax, [esp + 0xbc]
lea edx, [esp + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x98], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c4550]
call fcn.00435e30
cmp ax, bx
je 0x40d1ab
push edi
lea ecx, [esp + 0x68]
call fcn.0041b7d0
mov ebp, eax
sub esp, 0x10
mov esi, esp
mov dword [esp + 0xa0], esp
mov al, byte [ebp]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.0041ba60
mov ecx, dword [0x4ad134]
push ecx
push ebx
push ebp
mov ecx, esi
call fcn.0041b7e0
sub esp, 0x10
lea edx, [esp + 0xdc]
mov ecx, esp
mov dword [esp + 0xec], esp
push edx
mov byte [esp + 0x10c], 0x18
call fcn.0041b230
push edi
lea ecx, [esp + 0x78]
mov byte [esp + 0x10c], 0x19
call fcn.0041b7d0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xb8], esp
push eax
call fcn.0041b230
mov ecx, dword [0x4c45c4]
mov byte [esp + 0x118], 0xe
call fcn.0047a1a0
cmp dword [esp + 0x8c], ebx
jbe 0x40cfa7
cmp byte [esp + 0x13], 1
jne 0x40cfa7
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, dword [esp + 0x3c]
cmp eax, edi
jae 0x40cf6c
call esi
mov edi, eax
mov dword [esp + 0x3c], edi
call esi
mov ecx, dword [esp + 0x8c]
sub eax, edi
cmp eax, ecx
jb 0x40cfa7
push 1
push 0x4c4538
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x94], esp
push eax
call fcn.00475910
mov ecx, dword [0x4c4548]
call fcn.0043efc0
call esi
mov dword [esp + 0x3c], eax
inc dword [esp + 0x14]
jmp 0x40ce33
mov ebp, dword [esp + 0x8c]
cmp ebp, ebx
jbe 0x40d008
cmp byte [esp + 0x13], 1
jne 0x40d008
call esi
mov edi, dword [esp + 0x3c]
cmp eax, edi
jae 0x40cfd4
call esi
mov edi, eax
mov dword [esp + 0x3c], edi
call esi
sub eax, edi
cmp eax, ebp
jb 0x40d008
push 1
push 0x4c4538
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c4548]
call fcn.0043efc0
call esi
mov dword [esp + 0x3c], eax
mov ecx, dword [0x4c45c4]
call fcn.00479e40
cmp ax, bx
jl 0x40ccef
movsx ecx, ax
dec ecx
mov byte [esp + 0x13], 1
cmp ecx, 3
ja case.default.0x40d02a
jmp dword [ecx*4 + 0x40d6e0]
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0x18]
sub ecx, esi
test ecx, ecx
jle 0x40d0a3
inc esi
mov dword [esp + 0x18], esi
jmp 0x40d0a3
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0x18]
mov edx, ecx
sub edx, esi
cmp edx, 5
jle 0x40d097
add esi, 5
mov dword [esp + 0x18], esi
jmp 0x40d0a3
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
mov ecx, esi
sub ecx, edi
test ecx, ecx
jle 0x40d0a3
dec esi
mov dword [esp + 0x18], esi
jmp 0x40d0a3
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov edx, esi
sub edx, ecx
cmp edx, 5
jle 0x40d097
sub esi, 5
mov dword [esp + 0x18], esi
jmp 0x40d0a3
mov esi, ecx
mov dword [esp + 0x18], esi
jmp 0x40d0a3
mov esi, dword [esp + 0x18]
cmp ax, bx
je 0x40d3dd
mov eax, dword [esp + 0x84]
push esi
push eax
lea ecx, [esp + 0x38]
call fcn.00475c80
push 1
push 0x4c4538
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c4548]
call fcn.0043efc0
cmp dword [esp + 0x8c], ebx
jbe 0x40d0f7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x74]
lea edx, [esp + 0xf4]
push eax
push esi
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xa0], esp
push edx
call fcn.0041b450
mov ecx, dword [esp + 0xc0]
call fcn.00416d00
mov edi, 0x4bc208
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x7c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ad134]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x40d147
call fcn.0049813b
cmp esi, ebx
jbe 0x40d18b
mov ecx, dword [esp + 0x7c]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x78]
push ebp
call fcn.0041c2e0
test al, al
je 0x40d18b
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov ecx, esi
mov esi, 0x4bc208
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
call fcn.0041c2c0
mov eax, dword [0x4ad134]
lea ecx, [esp + 0x94]
push eax
push ebx
push ecx
lea ecx, [esp + 0x80]
call fcn.0041bf60
jmp 0x40ccef
lea ecx, [esp + 0x50]
mov byte [esp + 0xe8], 0xd
call fcn.00475a40
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xec], 0xc
call fcn.0041ba60
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xec], 0xb
call fcn.0041ba60
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0xec], 0xa
call fcn.0041ba60
lea ecx, [esp + 0x30]
mov byte [esp + 0xe8], 9
call fcn.00475a40
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0xec], 8
call fcn.0041ba60
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
cmp esi, eax
mov byte [esp + 0xe8], 7
mov edi, eax
je 0x40d24b
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x40d238
mov esi, dword [esp + 0x68]
push esi
call fcn.00498130
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov byte [esp + 0xe8], 6
je 0x40d287
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x40d274
mov esi, dword [esp + 0x58]
push esi
call fcn.00498130
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
add esp, 4
cmp esi, edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0xe8], 5
je 0x40d2c3
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40d2b0
mov esi, dword [esp + 0x44]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0xe8], 4
call fcn.00475a40
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 3
call fcn.00475a40
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, eax
mov byte [esp + 0xe8], 2
mov edi, eax
je 0x40d323
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40d310
mov esi, dword [esp + 0x24]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0xf0]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0xe8], 1
call fcn.00475a40
mov edi, dword [esp + 0xfc]
mov esi, dword [esp + 0xf8]
cmp esi, edi
mov byte [esp + 0xe8], bl
je 0x40d37b
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40d365
mov esi, dword [esp + 0xf8]
push esi
call fcn.00498130
mov edi, dword [esp + 0x110]
mov esi, dword [esp + 0x10c]
add esp, 4
cmp esi, edi
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0xe8], 0xffffffff
je 0x40d3cc
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40d3b6
mov esi, dword [esp + 0x108]
push esi
call fcn.00498130
add esp, 4
xor ax, ax
jmp 0x40d6c5
push 1
push 0x4c4538
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c4548]
call fcn.0043efc0
lea ecx, [esp + 0x50]
mov byte [esp + 0xe8], 0xd
call fcn.00475a40
mov eax, dword [esp + 0x98]
cmp eax, ebx
je 0x40d43c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40d433
cmp al, 0xff
je 0x40d433
dec al
mov byte [ecx], al
jmp 0x40d43c
push ecx
call fcn.00498130
add esp, 4
mov eax, dword [esp + 0x78]
mov dword [esp + 0x98], ebx
cmp eax, ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
je 0x40d476
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40d46d
cmp al, 0xff
je 0x40d46d
dec al
mov byte [ecx], al
jmp 0x40d476
push ecx
call fcn.00498130
add esp, 4
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x78], ebx
cmp eax, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
je 0x40d4ad
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40d4a4
cmp al, 0xff
je 0x40d4a4
dec al
mov byte [ecx], al
jmp 0x40d4ad
push ecx
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xe8], 9
call fcn.00475a40
mov eax, dword [esp + 0xc0]
cmp eax, ebx
je 0x40d4fb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40d4f2
cmp al, 0xff
je 0x40d4f2
dec al
mov byte [ecx], al
jmp 0x40d4fb
push ecx
call fcn.00498130
add esp, 4
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
cmp esi, edi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xe8], 7
je 0x40d537
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x40d524
mov esi, dword [esp + 0x68]
push esi
call fcn.00498130
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov byte [esp + 0xe8], 6
je 0x40d573
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x40d560
mov esi, dword [esp + 0x58]
push esi
call fcn.00498130
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
add esp, 4
cmp esi, edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0xe8], 5
je 0x40d5af
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40d59c
mov esi, dword [esp + 0x44]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0xe8], 4
call fcn.00475a40
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 3
call fcn.00475a40
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, eax
mov byte [esp + 0xe8], 2
mov edi, eax
je 0x40d60f
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40d5fc
mov esi, dword [esp + 0x24]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0xf0]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0xe8], 1
call fcn.00475a40
mov edi, dword [esp + 0xfc]
mov esi, dword [esp + 0xf8]
cmp esi, edi
mov byte [esp + 0xe8], bl
je 0x40d667
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40d651
mov esi, dword [esp + 0xf8]
push esi
call fcn.00498130
mov edi, dword [esp + 0x110]
mov esi, dword [esp + 0x10c]
add esp, 4
cmp esi, edi
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0xe8], 0xffffffff
je 0x40d6b8
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40d6a2
mov esi, dword [esp + 0x108]
push esi
call fcn.00498130
add esp, 4
mov ax, 1
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xdc
ret 0x24