Function at 0x407bc0
Capabilities:
Check for time delay via gettickcount
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a4642
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 0x158], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x38], al
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x28], cl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x48], dl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 6
call fcn.00475930
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x15c], 7
call fcn.00475930
mov al, byte [esp + 0x13]
mov dword [esp + 0x60], ebx
mov byte [esp + 0x5c], al
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x6c], cl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x80], ebx
mov byte [esp + 0x7c], dl
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xc4]
mov byte [esp + 0x15c], 0xb
mov byte [esp + 0xc4], al
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 + 0xc8]
call fcn.0041c100
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x15c], 0xc
call fcn.00475930
mov byte [esp + 0x158], 0xd
mov dword [esp + 0x58], ebx
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0xb4], cl
lea ecx, [esp + 0xb4]
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 + 0xb8]
call fcn.0041c100
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x15c], 0xe
mov byte [esp + 0xa4], dl
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 + 0xa8]
call fcn.0041c100
push ebx
lea ecx, [esp + 0x90]
mov byte [esp + 0x15c], 0xf
call fcn.00475930
lea ecx, [esp + 0xf0]
mov byte [esp + 0x158], 0x10
call fcn.00476710
push ecx
mov byte [esp + 0x15c], 0x11
mov ecx, esp
mov dword [esp + 0x20], esp
push 3
push 0x4bc1ac
call fcn.004759a0
lea ecx, [esp + 0x90]
call fcn.00475ae0
mov eax, dword [esp + 0x178]
push 1
lea esi, [eax + 4]
mov ecx, esi
call fcn.00475c70
mov dl, al
push ebx
and edx, 0xff
mov ecx, esi
shl edx, 8
mov dword [esp + 0x24], edx
call fcn.00475c70
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x178]
and eax, 0xff
push 1
add ecx, eax
lea esi, [edx + 8]
mov dword [esp + 0x9c], ecx
mov ecx, esi
call fcn.00475c70
push ebx
mov ecx, esi
call fcn.00475c70
mov eax, dword [esp + 0x178]
push 1
lea esi, [eax + 0x18]
mov ecx, esi
call fcn.00475c70
push ebx
mov ecx, esi
call fcn.00475c70
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.0041bc60
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.0041bc60
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.00475930
lea ecx, [esp + 0x1c]
call fcn.00475ae0
push 0x41
lea ecx, [esp + 0x1c]
call fcn.00475ce0
mov dl, byte [0x4c4564]
lea ecx, [esp + 0x18]
push edx
call fcn.00475ce0
push 0x4c452c
lea ecx, [esp + 0x1c]
call fcn.00475a90
mov eax, dword [esp + 0x178]
lea ecx, [esp + 0x18]
add eax, 0x14
push eax
call fcn.00475a90
push 1
lea ecx, [esp + 0x1c]
call fcn.00475ce0
push ebx
lea ecx, [esp + 0x1c]
call fcn.00475ce0
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x2c], esp
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.0041ba60
mov edi, str.ECU0E.DB
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.ECU0E.DB
mov ecx, esi
call fcn.0041c100
mov ecx, dword [0x4c4560]
lea edx, [esp + 0x100]
push edx
call fcn.0042d210
cmp ax, bx
jne 0x408212
lea ecx, [esp + 0xf0]
call fcn.00476bf0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x158], 0x10
call fcn.00476890
lea ecx, [esp + 0x8c]
mov byte [esp + 0x158], 0xf
call fcn.00475a40
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x15c], 0xe
call fcn.0041ba60
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x15c], 0xd
call fcn.0041ba60
lea ecx, [esp + 0x24]
mov byte [esp + 0x158], 0xc
call fcn.00475a40
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x15c], 0xb
call fcn.0041ba60
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
cmp esi, eax
mov byte [esp + 0x158], 0xa
mov edi, eax
je 0x407fc0
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x407faa
mov esi, dword [esp + 0x80]
push esi
call fcn.00498130
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
add esp, 4
cmp esi, edi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov byte [esp + 0x158], 9
je 0x408005
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x407ff2
mov esi, dword [esp + 0x70]
push esi
call fcn.00498130
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
add esp, 4
cmp esi, edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x158], 8
je 0x408041
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40802e
mov esi, dword [esp + 0x60]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x158], 7
call fcn.00475a40
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 6
call fcn.00475a40
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
cmp esi, eax
mov byte [esp + 0x158], 5
mov edi, eax
je 0x4080a1
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40808e
mov esi, dword [esp + 0x4c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add esp, 4
cmp esi, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x158], 4
je 0x4080dd
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x4080ca
mov esi, dword [esp + 0x2c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
add esp, 4
cmp esi, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x158], 3
je 0x408119
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x408106
mov esi, dword [esp + 0x3c]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x160]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x158], 2
call fcn.00475a40
mov edi, dword [esp + 0x16c]
mov esi, dword [esp + 0x168]
cmp esi, edi
mov byte [esp + 0x158], 1
je 0x408172
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40815c
mov esi, dword [esp + 0x168]
push esi
call fcn.00498130
mov edi, dword [esp + 0x180]
mov esi, dword [esp + 0x17c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x170], ebx
mov byte [esp + 0x158], bl
je 0x4081bf
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x4081a9
mov esi, dword [esp + 0x178]
push esi
call fcn.00498130
mov edi, dword [esp + 0x190]
mov esi, dword [esp + 0x18c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x158], 0xffffffff
je 0x409011
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x4081fe
jmp 0x40900a
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x60]
lea edx, [esp + 0xf4]
push ecx
mov ecx, dword [0x4c4560]
push edx
call fcn.0042d330
cmp ax, bx
je 0x40863a
push 1
lea ecx, [esp + 0x60]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x18]
call fcn.00475ae0
mov ecx, dword [0x4c4560]
lea eax, [esp + 0x14]
push eax
call fcn.0042e470
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.0041bad0
push 3
lea ecx, [esp + 0x60]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x18]
call fcn.00475ae0
lea eax, [esp + 0x24]
push 1
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00475910
push ebx
push 4
lea ecx, [esp + 0x188]
mov byte [esp + 0x16c], 0x12
call fcn.0041b6f0
mov ecx, eax
call fcn.00475c70
push eax
lea eax, [esp + 0x174]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0041b450
mov ecx, ebp
mov byte [esp + 0x178], 0x11
call fcn.0040ab60
cmp ax, bx
je 0x40833b
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.0041bad0
push 6
lea ecx, [esp + 0x1c]
call fcn.00475c70
inc al
lea ecx, [esp + 0x18]
push eax
push 6
call fcn.00475c80
jmp 0x408212
lea ecx, [esp + 0xf0]
mov byte [esp + 0x158], 0x10
call fcn.00476890
lea ecx, [esp + 0x8c]
mov byte [esp + 0x158], 0xf
call fcn.00475a40
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x15c], 0xe
call fcn.0041ba60
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x15c], 0xd
call fcn.0041ba60
lea ecx, [esp + 0x24]
mov byte [esp + 0x158], 0xc
call fcn.00475a40
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x15c], 0xb
call fcn.0041ba60
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
cmp esi, eax
mov byte [esp + 0x158], 0xa
mov edi, eax
je 0x4083e8
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x4083d2
mov esi, dword [esp + 0x80]
push esi
call fcn.00498130
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
add esp, 4
cmp esi, edi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov byte [esp + 0x158], 9
je 0x40842d
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x40841a
mov esi, dword [esp + 0x70]
push esi
call fcn.00498130
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
add esp, 4
cmp esi, edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x158], 8
je 0x408469
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x408456
mov esi, dword [esp + 0x60]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x158], 7
call fcn.00475a40
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 6
call fcn.00475a40
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
cmp esi, eax
mov byte [esp + 0x158], 5
mov edi, eax
je 0x4084c9
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x4084b6
mov esi, dword [esp + 0x4c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add esp, 4
cmp esi, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x158], 4
je 0x408505
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x4084f2
mov esi, dword [esp + 0x2c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
add esp, 4
cmp esi, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x158], 3
je 0x408541
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40852e
mov esi, dword [esp + 0x3c]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x160]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x158], 2
call fcn.00475a40
mov edi, dword [esp + 0x16c]
mov esi, dword [esp + 0x168]
cmp esi, edi
mov byte [esp + 0x158], 1
je 0x40859a
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x408584
mov esi, dword [esp + 0x168]
push esi
call fcn.00498130
mov edi, dword [esp + 0x180]
mov esi, dword [esp + 0x17c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x170], ebx
mov byte [esp + 0x158], bl
je 0x4085e7
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x4085d1
mov esi, dword [esp + 0x178]
push esi
call fcn.00498130
mov edi, dword [esp + 0x190]
mov esi, dword [esp + 0x18c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x158], 0xffffffff
je 0x409011
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x408626
jmp 0x40900a
lea ecx, [esp + 0xf0]
call fcn.00476bf0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0041bc60
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 2
push 0x4bc19c
call fcn.004759a0
lea ecx, [esp + 0x18]
call fcn.00475ae0
mov ecx, dword [0x4c4560]
lea edx, [esp + 0x14]
push edx
call fcn.0042e470
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0041bad0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 2
push 0x4bc1d4
call fcn.004759a0
lea ecx, [esp + 0x18]
call fcn.00475ae0
mov ecx, dword [0x4c4560]
lea edx, [esp + 0x14]
push edx
call fcn.0042e470
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0041bad0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 2
push 0x4bc1d0
call fcn.004759a0
lea ecx, [esp + 0x18]
call fcn.00475ae0
mov ecx, dword [0x4c4560]
lea edx, [esp + 0x14]
push edx
call fcn.0042e470
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0041bad0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dl, byte [esp + 0x38]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x2c], esp
mov byte [esi], dl
mov ecx, dword [esp + 0x4c]
cmp ecx, ebx
jne 0x408737
xor eax, eax
jmp 0x408740
mov eax, dword [esp + 0x50]
sub eax, ecx
sar eax, 2
cmp eax, ebx
jge 0x408746
xor eax, eax
shl eax, 2
push eax
call fcn.00498866
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0041bce0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push ecx
lea eax, [esp + 0x174]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x170], 0x13
call fcn.00475910
mov ecx, dword [0x4c4560]
mov byte [esp + 0x16c], 0x11
mov edx, dword [ecx]
call dword [edx + 4]
mov esi, eax
cmp si, bx
jl 0x409022
push ecx
mov byte [esp + 0x17], bl
mov ecx, esp
mov dword [esp + 0x20], 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 + 0x158], 0x14
push ecx
push ebx
push eax
lea ecx, [esp + 0xbc]
call fcn.0041b7e0
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x15c], 0x11
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 + 0xa8]
call fcn.0041c100
movsx eax, si
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], eax
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x28]
call fcn.00475ae0
mov ecx, dword [0x4c4550]
call fcn.00434420
lea edx, [esp + 0x7c]
lea eax, [esp + 0x6c]
push edx
push eax
sub esp, 0x10
lea edx, [esp + 0x19c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0041b450
mov ecx, dword [0x4c4550]
call fcn.00435460
mov eax, dword [0x4c4550]
mov edx, dword [eax + 0x44]
lea ecx, [eax + 0x40]
mov eax, dword [eax + 0x48]
push eax
push edx
call fcn.0041bc60
push ecx
lea edx, [esp + 0x164]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c45c4]
call fcn.004798f0
xor esi, esi
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
jne 0x4088c1
xor eax, eax
jmp 0x4088ca
mov eax, dword [esp + 0x30]
sub eax, ecx
sar eax, 2
movsx ecx, si
cmp ecx, eax
jae 0x4088f8
push 1
push ecx
lea ecx, [esp + 0x30]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00475910
mov ecx, dword [0x4c45c4]
call fcn.00479a70
inc esi
jmp 0x4088b5
mov al, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x30], esp
push ebx
mov ecx, esi
mov byte [esi], al
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
mov ecx, esi
call fcn.0041c100
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x168], 0x15
push ecx
lea ecx, [esp + 0x4c]
call fcn.0041b6f0
sub esp, 0x10
mov esi, esp
mov dword [esp + 0xbc], esp
push ecx
mov ecx, esp
mov dword [esp + 0xb4], esp
push eax
call fcn.00475910
push esi
call fcn.00477540
sub esp, 8
mov byte [esp + 0x188], 0x16
mov esi, esp
mov dword [esp + 0xc0], esp
push ecx
mov ecx, esp
mov dword [esp + 0xc4], esp
push 6
push 0x4bc1c8
call fcn.004759a0
push esi
call fcn.00477540
mov ecx, dword [0x4c45c4]
add esp, 8
mov byte [esp + 0x188], 0x11
call fcn.0047a1a0
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0xa0], esp
push ebx
mov ecx, esi
mov byte [esi], 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
mov ecx, esi
call fcn.0041c100
sub esp, 0x10
lea eax, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0xbc], esp
push eax
mov byte [esp + 0x17c], 0x17
call fcn.0041b230
sub esp, 0x10
mov byte [esp + 0x188], 0x18
mov ecx, esp
lea edx, [esp + 0xe0]
mov dword [esp + 0x50], esp
push edx
call fcn.0041b230
mov ecx, dword [0x4c45c4]
mov byte [esp + 0x188], 0x11
call fcn.0047a1a0
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x188]
cmp ecx, ebx
jne 0x408a44
xor eax, eax
jmp 0x408a50
mov eax, dword [esp + 0x18c]
sub eax, ecx
sar eax, 2
movsx edi, word [esp + 0x20]
cmp edi, eax
jae 0x408bbd
push edi
lea ecx, [esp + 0x188]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x94], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x1c]
call fcn.00475ae0
lea eax, [esp + 0xc0]
lea edx, [esp + 0x18]
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 0x408d12
push edi
lea ecx, [esp + 0x80]
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 + 0xe0]
mov ecx, esp
mov dword [esp + 0xbc], esp
push edx
mov byte [esp + 0x17c], 0x19
call fcn.0041b230
push edi
lea ecx, [esp + 0x90]
mov byte [esp + 0x17c], 0x1a
call fcn.0041b7d0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xc4], esp
push eax
call fcn.0041b230
mov ecx, dword [0x4c45c4]
mov byte [esp + 0x188], 0x11
call fcn.0047a1a0
cmp dword [esp + 0x98], ebx
jbe 0x408ba9
cmp byte [esp + 0x13], 1
jne 0x408ba9
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, dword [esp + 0x58]
cmp eax, edi
jae 0x408b6e
call esi
mov edi, eax
mov dword [esp + 0x58], edi
call esi
mov ecx, dword [esp + 0x98]
sub eax, edi
cmp eax, ecx
jb 0x408ba9
push 1
push 0x4c4538
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0xa0], esp
push eax
call fcn.00475910
mov ecx, dword [0x4c4548]
call fcn.0043efc0
call esi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
inc eax
mov dword [esp + 0x20], eax
jmp 0x408a35
mov edi, dword [esp + 0x98]
cmp edi, ebx
jbe 0x408c15
cmp byte [esp + 0x13], 1
jne 0x408c15
call ebp
mov esi, dword [esp + 0x58]
cmp eax, esi
jae 0x408be1
call ebp
mov esi, eax
mov dword [esp + 0x58], esi
call ebp
sub eax, esi
cmp eax, edi
jb 0x408c15
push 1
push 0x4c4538
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0xa0], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c4548]
call fcn.0043efc0
call ebp
mov dword [esp + 0x58], eax
mov ecx, dword [0x4c45c4]
call fcn.00479e40
mov esi, eax
cmp si, bx
jl 0x40887f
je 0x40871c
cmp si, 1
jne 0x408c64
push 1
push 0x4c4538
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0xa0], esp
push eax
mov byte [esp + 0x23], 1
call fcn.00475910
mov ecx, dword [0x4c4548]
call fcn.0043efc0
jmp 0x408c9e
cmp si, 2
jne 0x408c9e
cmp byte [esp + 0x13], 1
jne 0x408c9e
push 1
push 0x4c4538
push ecx
lea edx, [esp + 0x98]
mov ecx, esp
mov dword [esp + 0xa0], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c4548]
call fcn.0043efc0
mov byte [esp + 0x13], bl
cmp dword [esp + 0x98], ebx
jbe 0x408cad
call ebp
mov dword [esp + 0x58], eax
movsx eax, si
push eax
lea ecx, [esp + 0x2c]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x98], esp
push eax
call fcn.00475910
lea ecx, [esp + 0xe4]
push ecx
call fcn.00477540
add esp, 8
mov edx, dword [0x4ad134]
lea ecx, [esp + 0xa0]
push edx
push ebx
push eax
mov byte [esp + 0x164], 0x1b
call fcn.0041b7e0
push 1
lea ecx, [esp + 0xe4]
mov byte [esp + 0x15c], 0x11
call fcn.0041ba60
jmp 0x40887f
lea ecx, [esp + 0xf0]
mov byte [esp + 0x158], 0x10
call fcn.00476890
lea ecx, [esp + 0x8c]
mov byte [esp + 0x158], 0xf
call fcn.00475a40
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x15c], 0xe
call fcn.0041ba60
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x15c], 0xd
call fcn.0041ba60
lea ecx, [esp + 0x24]
mov byte [esp + 0x158], 0xc
call fcn.00475a40
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x15c], 0xb
call fcn.0041ba60
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
cmp esi, eax
mov byte [esp + 0x158], 0xa
mov edi, eax
je 0x408dbf
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x408da9
mov esi, dword [esp + 0x80]
push esi
call fcn.00498130
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
add esp, 4
cmp esi, edi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov byte [esp + 0x158], 9
je 0x408e04
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x408df1
mov esi, dword [esp + 0x70]
push esi
call fcn.00498130
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
add esp, 4
cmp esi, edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x158], 8
je 0x408e40
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x408e2d
mov esi, dword [esp + 0x60]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x158], 7
call fcn.00475a40
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 6
call fcn.00475a40
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
cmp esi, eax
mov byte [esp + 0x158], 5
mov edi, eax
je 0x408ea0
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x408e8d
mov esi, dword [esp + 0x4c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add esp, 4
cmp esi, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x158], 4
je 0x408edc
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x408ec9
mov esi, dword [esp + 0x2c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
add esp, 4
cmp esi, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x158], 3
je 0x408f18
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x408f05
mov esi, dword [esp + 0x3c]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x160]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x158], 2
call fcn.00475a40
mov eax, dword [esp + 0x16c]
mov esi, dword [esp + 0x168]
cmp esi, eax
mov byte [esp + 0x158], 1
mov edi, eax
je 0x408f73
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x408f5d
mov esi, dword [esp + 0x168]
push esi
call fcn.00498130
mov edi, dword [esp + 0x180]
mov esi, dword [esp + 0x17c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x170], ebx
mov byte [esp + 0x158], bl
je 0x408fc0
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x408faa
mov esi, dword [esp + 0x178]
push esi
call fcn.00498130
mov edi, dword [esp + 0x190]
mov esi, dword [esp + 0x18c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x158], 0xffffffff
je 0x409011
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x408ffb
mov esi, dword [esp + 0x188]
push esi
call fcn.00498130
add esp, 4
xor ax, ax
jmp 0x4092fd
lea ecx, [esp + 0xf0]
mov byte [esp + 0x158], 0x10
call fcn.00476890
lea ecx, [esp + 0x8c]
mov byte [esp + 0x158], 0xf
call fcn.00475a40
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x15c], 0xe
call fcn.0041ba60
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x15c], 0xd
call fcn.0041ba60
lea ecx, [esp + 0x24]
mov byte [esp + 0x158], 0xc
call fcn.00475a40
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x15c], 0xb
call fcn.0041ba60
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
cmp esi, eax
mov byte [esp + 0x158], 0xa
mov edi, eax
je 0x4090cf
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x4090b9
mov esi, dword [esp + 0x80]
push esi
call fcn.00498130
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
add esp, 4
cmp esi, edi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov byte [esp + 0x158], 9
je 0x409114
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x409101
mov esi, dword [esp + 0x70]
push esi
call fcn.00498130
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
add esp, 4
cmp esi, edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x158], 8
je 0x409150
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40913d
mov esi, dword [esp + 0x60]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x158], 7
call fcn.00475a40
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 6
call fcn.00475a40
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
cmp esi, eax
mov byte [esp + 0x158], 5
mov edi, eax
je 0x4091b0
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40919d
mov esi, dword [esp + 0x4c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add esp, 4
cmp esi, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x158], 4
je 0x4091ec
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x4091d9
mov esi, dword [esp + 0x2c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
add esp, 4
cmp esi, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x158], 3
je 0x409228
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x409215
mov esi, dword [esp + 0x3c]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x160]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x158], 2
call fcn.00475a40
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
push eax
push ecx
lea ecx, [esp + 0x16c]
mov byte [esp + 0x160], 1
call fcn.0041bcb0
mov edx, dword [esp + 0x168]
push edx
call fcn.00498130
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x17c]
add esp, 4
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x170], ebx
push eax
push ecx
lea ecx, [esp + 0x17c]
mov byte [esp + 0x160], bl
call fcn.0041bcb0
mov edx, dword [esp + 0x178]
push edx
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x184]
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x158], 0xffffffff
call fcn.0041b4c0
mov ax, 1
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14c
ret 0x34