Function at 0x406790
Capabilities:
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a4507
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 0x144], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x24], al
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x38], cl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 5
call fcn.00475930
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 6
call fcn.00475930
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
mov al, byte [esp + 0x13]
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x58], al
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x68], cl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x148], 0xa
mov byte [esp + 0x9c], 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 + 0xa0]
call fcn.0041c100
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x148], 0xb
call fcn.00475930
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x148], 0xc
mov byte [esp + 0x8c], 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 + 0x90]
call fcn.0041c100
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0xac], cl
lea ecx, [esp + 0xac]
mov byte [esp + 0x148], 0xd
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 + 0xb0]
call fcn.0041c100
push ebx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x148], 0xe
call fcn.00475930
lea ecx, [esp + 0xdc]
mov byte [esp + 0x144], 0xf
call fcn.00476710
push ecx
mov byte [esp + 0x148], 0x10
mov ecx, esp
mov dword [esp + 0x88], esp
push 3
push 0x4bc1ac
call fcn.004759a0
lea ecx, [esp + 0x7c]
call fcn.00475ae0
mov edx, dword [esp + 0x164]
push 1
lea esi, [edx + 8]
mov ecx, esi
call fcn.00475c70
mov dl, al
push ebx
and edx, 0xff
mov ecx, esi
shl edx, 8
mov dword [esp + 0x20], edx
call fcn.00475c70
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x164]
and eax, 0xff
push 1
add ecx, eax
lea esi, [edx + 0x18]
mov dword [esp + 0xbc], ecx
mov ecx, esi
call fcn.00475c70
mov dl, al
push ebx
and edx, 0xff
mov ecx, esi
shl edx, 8
mov dword [esp + 0x20], edx
call fcn.00475c70
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
and eax, 0xff
push edx
add ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.0041bc60
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.0041bc60
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.00475930
lea ecx, [esp + 0x18]
call fcn.00475ae0
push 0x41
lea ecx, [esp + 0x18]
call fcn.00475ce0
mov al, byte [0x4c4564]
lea ecx, [esp + 0x14]
push eax
call fcn.00475ce0
push 0x4c452c
lea ecx, [esp + 0x18]
call fcn.00475a90
mov ecx, dword [esp + 0x164]
add ecx, 0x14
push ecx
lea ecx, [esp + 0x18]
call fcn.00475a90
push 1
lea ecx, [esp + 0x18]
call fcn.00475ce0
push ebx
lea ecx, [esp + 0x18]
call fcn.00475ce0
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x2c], esp
push ebx
mov ecx, esi
mov byte [esi], dl
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 eax, [esp + 0xec]
push eax
call fcn.0042d210
cmp ax, bx
jne 0x406d72
lea ecx, [esp + 0xdc]
call fcn.00476bf0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x144], 0xf
call fcn.00476890
lea ecx, [esp + 0x78]
mov byte [esp + 0x144], 0xe
call fcn.00475a40
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x148], 0xd
call fcn.0041ba60
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x148], 0xc
call fcn.0041ba60
lea ecx, [esp + 0x34]
mov byte [esp + 0x144], 0xb
call fcn.00475a40
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x148], 0xa
call fcn.0041ba60
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
cmp esi, eax
mov byte [esp + 0x144], 9
mov edi, eax
je 0x406b65
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x406b52
mov esi, dword [esp + 0x6c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
add esp, 4
cmp esi, edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x144], 8
je 0x406ba1
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x406b8e
mov esi, dword [esp + 0x5c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
add esp, 4
cmp esi, edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x144], 7
je 0x406bdd
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x406bca
mov esi, dword [esp + 0x4c]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x144], 6
call fcn.00475a40
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 5
call fcn.00475a40
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp esi, eax
mov byte [esp + 0x144], 4
mov edi, eax
je 0x406c3d
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x406c2a
mov esi, dword [esp + 0x3c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x144], 3
je 0x406c79
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x406c66
mov esi, dword [esp + 0x28]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x144], 2
call fcn.00475a40
mov edi, dword [esp + 0x158]
mov esi, dword [esp + 0x154]
cmp esi, edi
mov byte [esp + 0x144], 1
je 0x406cd2
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x406cbc
mov esi, dword [esp + 0x154]
push esi
call fcn.00498130
mov edi, dword [esp + 0x16c]
mov esi, dword [esp + 0x168]
add esp, 4
cmp esi, edi
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x144], bl
je 0x406d1f
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x406d09
mov esi, dword [esp + 0x164]
push esi
call fcn.00498130
mov edi, dword [esp + 0x17c]
mov esi, dword [esp + 0x178]
add esp, 4
cmp esi, edi
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x144], 0xffffffff
je 0x407944
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x406d5e
jmp 0x40793d
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00475910
lea eax, [esp + 0x4c]
lea ecx, [esp + 0xe0]
push eax
push ecx
mov ecx, dword [0x4c4560]
call fcn.0042d330
cmp ax, bx
je 0x407149
push 1
lea ecx, [esp + 0x4c]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x1c]
call fcn.00475ae0
mov ecx, dword [0x4c4560]
lea edx, [esp + 0x18]
push edx
call fcn.0042e470
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041bad0
push 3
lea ecx, [esp + 0x4c]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x1c]
call fcn.00475ae0
lea edx, [esp + 0x34]
push 1
push edx
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00475910
push ebx
push 4
lea ecx, [esp + 0x174]
mov byte [esp + 0x158], 0x11
call fcn.0041b6f0
mov ecx, eax
call fcn.00475c70
push eax
lea edx, [esp + 0x160]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0041b450
mov ecx, ebp
mov byte [esp + 0x164], 0x10
call fcn.0040ab60
cmp ax, bx
je 0x406e9b
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.0041bad0
push 6
lea ecx, [esp + 0x18]
call fcn.00475c70
inc al
lea ecx, [esp + 0x14]
push eax
push 6
call fcn.00475c80
jmp 0x406d72
lea ecx, [esp + 0xdc]
mov byte [esp + 0x144], 0xf
call fcn.00476890
lea ecx, [esp + 0x78]
mov byte [esp + 0x144], 0xe
call fcn.00475a40
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x148], 0xd
call fcn.0041ba60
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x148], 0xc
call fcn.0041ba60
lea ecx, [esp + 0x34]
mov byte [esp + 0x144], 0xb
call fcn.00475a40
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x148], 0xa
call fcn.0041ba60
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
cmp esi, eax
mov byte [esp + 0x144], 9
mov edi, eax
je 0x406f3c
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x406f29
mov esi, dword [esp + 0x6c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
add esp, 4
cmp esi, edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x144], 8
je 0x406f78
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x406f65
mov esi, dword [esp + 0x5c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
add esp, 4
cmp esi, edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x144], 7
je 0x406fb4
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x406fa1
mov esi, dword [esp + 0x4c]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x144], 6
call fcn.00475a40
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 5
call fcn.00475a40
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp esi, eax
mov byte [esp + 0x144], 4
mov edi, eax
je 0x407014
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x407001
mov esi, dword [esp + 0x3c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x144], 3
je 0x407050
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40703d
mov esi, dword [esp + 0x28]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x144], 2
call fcn.00475a40
mov edi, dword [esp + 0x158]
mov esi, dword [esp + 0x154]
cmp esi, edi
mov byte [esp + 0x144], 1
je 0x4070a9
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x407093
mov esi, dword [esp + 0x154]
push esi
call fcn.00498130
mov edi, dword [esp + 0x16c]
mov esi, dword [esp + 0x168]
add esp, 4
cmp esi, edi
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x144], bl
je 0x4070f6
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x4070e0
mov esi, dword [esp + 0x164]
push esi
call fcn.00498130
mov edi, dword [esp + 0x17c]
mov esi, dword [esp + 0x178]
add esp, 4
cmp esi, edi
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x144], 0xffffffff
je 0x407944
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x407135
jmp 0x40793d
lea ecx, [esp + 0xdc]
call fcn.00476bf0
mov dl, byte [esp + 0x24]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x30], esp
mov byte [esi], dl
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
jne 0x407170
xor eax, eax
jmp 0x407179
mov eax, dword [esp + 0x3c]
sub eax, ecx
sar eax, 2
cmp eax, ebx
jge 0x40717f
xor eax, eax
shl eax, 2
push eax
call fcn.00498866
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
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 + 0x160]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x15c], 0x12
call fcn.00475910
mov ecx, dword [0x4c4560]
mov byte [esp + 0x158], 0x10
mov edx, dword [ecx]
call dword [edx + 4]
mov esi, eax
cmp si, bx
jl 0x407955
push ecx
mov byte [esp + 0x17], bl
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4bc1c8
call fcn.004759a0
lea eax, [esp + 0xc0]
push eax
call fcn.00477540
add esp, 8
mov ecx, dword [0x4ad134]
mov byte [esp + 0x144], 0x13
push ecx
push ebx
push eax
lea ecx, [esp + 0x94]
call fcn.0041b7e0
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0x148], 0x10
call fcn.0041ba60
movsx esi, si
push esi
lea ecx, [esp + 0x28]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00475910
lea edx, [esp + 0xd0]
push edx
call fcn.00477540
add esp, 8
mov ecx, dword [0x4ad134]
mov byte [esp + 0x144], 0x14
push ecx
push ebx
push eax
lea ecx, [esp + 0xb4]
call fcn.0041b7e0
push 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x148], 0x10
call fcn.0041ba60
push esi
lea ecx, [esp + 0x3c]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x38]
call fcn.00475ae0
mov ecx, dword [0x4c4550]
call fcn.00434420
lea edx, [esp + 0x68]
lea eax, [esp + 0x58]
push edx
push eax
sub esp, 0x10
lea edx, [esp + 0x188]
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 + 0x150]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c45c4]
call fcn.004798f0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 2
push 0x4bc19c
call fcn.004759a0
lea ecx, [esp + 0x1c]
call fcn.00475ae0
mov ecx, dword [0x4c4560]
lea eax, [esp + 0x18]
push eax
call fcn.0042e470
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c45c4]
call fcn.00479a70
cmp byte [esp + 0x13], bl
jne 0x4073bb
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 2
push 0x4bc1c4
call fcn.004759a0
lea ecx, [esp + 0x1c]
call fcn.00475ae0
mov ecx, dword [0x4c4560]
lea eax, [esp + 0x18]
push eax
call fcn.0042e470
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c45c4]
call fcn.00479a70
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
sub esp, 0x10
lea edx, [esp + 0xc8]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x168], 0x15
call fcn.0041b230
sub esp, 0x10
lea eax, [esp + 0xb8]
mov ecx, esp
mov dword [esp + 0xb0], esp
push eax
mov byte [esp + 0x178], 0x16
call fcn.0041b230
mov ecx, dword [0x4c45c4]
mov byte [esp + 0x174], 0x10
call fcn.0047a1a0
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x174]
cmp ecx, ebx
jne 0x407453
xor eax, eax
jmp 0x40745f
mov eax, dword [esp + 0x178]
sub eax, ecx
sar eax, 2
movsx edi, word [esp + 0x1c]
cmp edi, eax
jae 0x407555
push edi
lea ecx, [esp + 0x174]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x18]
call fcn.00475ae0
lea ecx, [esp + 0x98]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c4550]
call fcn.00435e30
cmp ax, bx
je 0x407696
push edi
lea ecx, [esp + 0x6c]
call fcn.0041b7d0
mov ebp, eax
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x90], 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 + 0xb8]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x168], 0x17
call fcn.0041b230
push edi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x168], 0x18
call fcn.0041b7d0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xac], esp
push eax
call fcn.0041b230
mov ecx, dword [0x4c45c4]
mov byte [esp + 0x174], 0x10
call fcn.0047a1a0
inc dword [esp + 0x1c]
jmp 0x407444
mov ecx, dword [0x4c45c4]
call fcn.00479e40
cmp ax, bx
jl 0x4072ed
je 0x407155
push 1
push 0x4c4538
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
mov byte [esp + 0x23], 1
call fcn.00475910
mov ecx, dword [0x4c4548]
call fcn.0043efc0
push ebx
push ebx
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x88], esp
push edx
call fcn.00475910
push ecx
mov byte [esp + 0x154], 0x19
mov ecx, esp
mov dword [esp + 0x90], esp
push 6
push 0x4bc1bc
call fcn.004759a0
mov ecx, 0x4c45b8
mov byte [esp + 0x154], 0x10
call fcn.0047aa50
mov eax, dword [esp + 0xb8]
push eax
call fcn.00439bd0
add esp, 4
lea edx, [esp + 0x78]
push 1
push 0x4c4538
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push edx
call fcn.00475910
mov ecx, dword [0x4c4548]
call fcn.0043efc0
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push 2
push 0x4bc19c
call fcn.004759a0
lea ecx, [esp + 0x1c]
call fcn.00475ae0
push ebx
push ebx
push ecx
lea eax, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
call fcn.00475910
push ecx
mov byte [esp + 0x154], 0x1a
mov ecx, esp
mov dword [esp + 0x90], esp
push 6
push 0x4bc1b4
call fcn.004759a0
mov ecx, 0x4c45b8
mov byte [esp + 0x154], 0x10
call fcn.0047aa50
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00439bd0
add esp, 4
jmp 0x4072ed
lea ecx, [esp + 0xdc]
mov byte [esp + 0x144], 0xf
call fcn.00476890
lea ecx, [esp + 0x78]
mov byte [esp + 0x144], 0xe
call fcn.00475a40
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x148], 0xd
call fcn.0041ba60
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x148], 0xc
call fcn.0041ba60
lea ecx, [esp + 0x34]
mov byte [esp + 0x144], 0xb
call fcn.00475a40
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x148], 0xa
call fcn.0041ba60
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
cmp esi, eax
mov byte [esp + 0x144], 9
mov edi, eax
je 0x407737
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x407724
mov esi, dword [esp + 0x6c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
add esp, 4
cmp esi, edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x144], 8
je 0x407773
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x407760
mov esi, dword [esp + 0x5c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
add esp, 4
cmp esi, edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x144], 7
je 0x4077af
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40779c
mov esi, dword [esp + 0x4c]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x144], 6
call fcn.00475a40
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 5
call fcn.00475a40
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp esi, eax
mov byte [esp + 0x144], 4
mov edi, eax
je 0x40780f
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x4077fc
mov esi, dword [esp + 0x3c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x144], 3
je 0x40784b
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x407838
mov esi, dword [esp + 0x28]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x144], 2
call fcn.00475a40
mov eax, dword [esp + 0x158]
mov esi, dword [esp + 0x154]
cmp esi, eax
mov byte [esp + 0x144], 1
mov edi, eax
je 0x4078a6
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x407890
mov esi, dword [esp + 0x154]
push esi
call fcn.00498130
mov edi, dword [esp + 0x16c]
mov esi, dword [esp + 0x168]
add esp, 4
cmp esi, edi
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x144], bl
je 0x4078f3
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x4078dd
mov esi, dword [esp + 0x164]
push esi
call fcn.00498130
mov edi, dword [esp + 0x17c]
mov esi, dword [esp + 0x178]
add esp, 4
cmp esi, edi
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x144], 0xffffffff
je 0x407944
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x40792e
mov esi, dword [esp + 0x174]
push esi
call fcn.00498130
add esp, 4
xor ax, ax
jmp 0x407ba2
lea ecx, [esp + 0xdc]
mov byte [esp + 0x144], 0xf
call fcn.00476890
lea ecx, [esp + 0x78]
mov byte [esp + 0x144], 0xe
call fcn.00475a40
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x148], 0xd
call fcn.0041ba60
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x148], 0xc
call fcn.0041ba60
lea ecx, [esp + 0x34]
mov byte [esp + 0x144], 0xb
call fcn.00475a40
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x148], 0xa
call fcn.0041ba60
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
cmp esi, eax
mov byte [esp + 0x144], 9
mov edi, eax
je 0x4079f6
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x4079e3
mov esi, dword [esp + 0x6c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
add esp, 4
cmp esi, edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x144], 8
je 0x407a32
push ebx
mov ecx, esi
call fcn.0041cba0
add esi, 0x10
cmp esi, edi
jne 0x407a1f
mov esi, dword [esp + 0x5c]
push esi
call fcn.00498130
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
add esp, 4
cmp esi, edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x144], 7
je 0x407a6e
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x407a5b
mov esi, dword [esp + 0x4c]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x144], 6
call fcn.00475a40
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 5
call fcn.00475a40
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp esi, eax
mov byte [esp + 0x144], 4
mov edi, eax
je 0x407ace
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x407abb
mov esi, dword [esp + 0x3c]
push esi
call fcn.00498130
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
push edx
push eax
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x14c], 3
call fcn.0041bcb0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x144], 2
call fcn.00475a40
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x154]
push edx
push eax
lea ecx, [esp + 0x158]
mov byte [esp + 0x14c], 1
call fcn.0041bcb0
mov ecx, dword [esp + 0x154]
push ecx
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x160]
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x144], bl
call fcn.0041b4c0
lea ecx, [esp + 0x170]
mov dword [esp + 0x144], 0xffffffff
call fcn.0041b4c0
mov ax, 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x138
ret 0x34