Function at 0x407fc9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x497dce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov dword [esp + 0xd8], ecx
xor ebx, ebx
lea ecx, [esp + 0xb8]
mov dword [esp + 0x168], ebx
call fcn.00471d10
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x16c], 1
call fcn.0046eb50
lea ecx, [esp + 0xa8]
mov byte [esp + 0x168], 2
call fcn.0047de30
lea ecx, [esp + 0xdc]
mov byte [esp + 0x168], 3
call fcn.00473990
lea ecx, [esp + 0x70]
mov byte [esp + 0x168], 4
call fcn.0046eb20
push 0xb
push 0x4ae26c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x170], 5
call fcn.0046ebc0
lea ecx, [esp + 0x100]
mov byte [esp + 0x168], 6
call fcn.0046f9e0
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x16c], 7
call fcn.0046eb50
push 4
lea ecx, [esp + 0x174]
mov byte [esp + 0x16c], 8
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x24]
call fcn.0046ee50
mov ecx, dword [0x4b63ec]
lea eax, [esp + 0x20]
push eax
call fcn.00415640
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4b63b8
call fcn.0046eb30
mov ecx, 0x4b63c0
call fcn.0046ee50
mov cl, byte [0x4b63d9]
mov dl, byte [0x4b65fd]
mov byte [0x4b63d8], cl
push edx
lea ecx, [esp + 0x1c]
call fcn.0046efc0
push 0x4b63c0
lea ecx, [esp + 0x1c]
call fcn.0046edf0
mov al, byte [0x4b63d8]
lea ecx, [esp + 0x18]
push eax
call fcn.0046efc0
push 1
lea ecx, [esp + 0x1c]
call fcn.0046efc0
push ebx
lea ecx, [esp + 0x1c]
call fcn.0046efc0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0046eb30
sub esp, 0x10
lea eax, [esp + 0x27]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
push str.LINKLAYER.DB
mov byte [esp + 0x184], 9
call fcn.00401aa0
mov ecx, dword [0x4b63dc]
mov byte [esp + 0x17c], 8
add ecx, 8
push ecx
mov ecx, dword [0x4b63ec]
call fcn.00414c40
cmp ax, bx
jne 0x407e5a
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 7
call fcn.0046ec60
lea ecx, [esp + 0x100]
mov byte [esp + 0x168], 6
call fcn.0046fb60
lea ecx, [esp + 0x34]
mov byte [esp + 0x168], 5
call fcn.0046ec60
lea ecx, [esp + 0x70]
mov byte [esp + 0x168], 4
call fcn.0046ec60
lea ecx, [esp + 0xdc]
mov byte [esp + 0x168], 3
call fcn.00473a90
lea ecx, [esp + 0xa8]
mov byte [esp + 0x168], 2
call fcn.0047de50
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 1
call fcn.0046ec60
lea ecx, [esp + 0xb8]
mov byte [esp + 0x168], bl
call fcn.0046ec60
mov eax, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
cmp esi, eax
mov dword [esp + 0x168], 0xffffffff
mov edi, eax
je 0x408e16
push ebx
mov ecx, esi
call fcn.00402090
add esi, 4
cmp esi, edi
jne 0x407e46
jmp 0x408e0f
mov ecx, dword [0x4b63dc]
call fcn.0040baa0
test ax, ax
jne 0x407f38
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 7
call fcn.0046ec60
lea ecx, [esp + 0x100]
mov byte [esp + 0x168], 6
call fcn.0046fb60
lea ecx, [esp + 0x34]
mov byte [esp + 0x168], 5
call fcn.0046ec60
lea ecx, [esp + 0x70]
mov byte [esp + 0x168], 4
call fcn.0046ec60
lea ecx, [esp + 0xdc]
mov byte [esp + 0x168], 3
call fcn.00473a90
lea ecx, [esp + 0xa8]
mov byte [esp + 0x168], 2
call fcn.0047de50
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 1
call fcn.0046ec60
lea ecx, [esp + 0xb8]
mov byte [esp + 0x168], bl
call fcn.0046ec60
mov eax, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
cmp esi, eax
mov dword [esp + 0x168], 0xffffffff
mov edi, eax
je 0x408e16
push ebx
mov ecx, esi
call fcn.00402090
add esi, 4
cmp esi, edi
jne 0x407f24
jmp 0x408e0f
lea ecx, [esp + 0xa8]
call fcn.0047e270
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0046eb30
lea ecx, [esp + 0x74]
call fcn.0046ee50
lea eax, [esp + 0x70]
lea ecx, [esp + 0xa8]
push eax
mov word [esp + 0x78], 0xfe
call fcn.0047e080
xor esi, esi
sub esp, 0x24
lea edx, [esp + 0xcc]
mov ecx, esp
mov dword [esp + 0x40], esp
push ebx
push edx
push ecx
mov ecx, 0x4b6410
call fcn.0047bfc0
lea ecx, [esp + 0x100]
call fcn.00473b40
lea ecx, [esp + 0xdc]
call fcn.00473f70
test ax, ax
jne 0x40822d
inc esi
cmp si, 2
jl 0x407f78
push ebx
push 4
push ecx
xor esi, esi
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x4ae254
call fcn.0046ebc0
push ecx
mov byte [esp + 0x178], 0xa
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4ae24c
call fcn.0046ebc0
mov ecx, 0x4b6448
mov byte [esp + 0x178], 8
call fcn.00472d90
cmp ax, 4
jne 0x4080d6
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 7
call fcn.0046ec60
lea ecx, [esp + 0x100]
mov byte [esp + 0x168], 6
call fcn.0046fb60
lea ecx, [esp + 0x34]
mov byte [esp + 0x168], 5
call fcn.0046ec60
lea ecx, [esp + 0x70]
mov byte [esp + 0x168], 4
call fcn.0046ec60
lea ecx, [esp + 0xdc]
mov byte [esp + 0x168], 3
call fcn.00473a90
lea ecx, [esp + 0xa8]
mov byte [esp + 0x168], 2
call fcn.0047de50
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 1
call fcn.0046ec60
lea ecx, [esp + 0xb8]
mov byte [esp + 0x168], bl
call fcn.0046ec60
mov eax, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
cmp esi, eax
mov dword [esp + 0x168], 0xffffffff
mov edi, eax
je 0x408e16
push ebx
mov ecx, esi
call fcn.00402090
add esi, 4
cmp esi, edi
jne 0x4080c2
jmp 0x408e0f
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4ae254
call fcn.0046ebc0
push ecx
mov byte [esp + 0x174], 0xb
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x4ae244
call fcn.0046ebc0
mov ecx, 0x4b6448
mov byte [esp + 0x174], 8
call fcn.00473420
cmp ax, 2
je 0x408163
sub esp, 0x24
lea ecx, [esp + 0xcc]
mov eax, esp
mov dword [esp + 0x40], esp
push ebx
push ecx
push eax
mov ecx, 0x4b6410
call fcn.0047bfc0
lea ecx, [esp + 0x100]
call fcn.00473b40
lea ecx, [esp + 0xdc]
call fcn.00473f70
test ax, ax
jne 0x40822d
add esi, 5
jmp 0x4080d6
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 7
call fcn.0046ec60
lea ecx, [esp + 0x100]
mov byte [esp + 0x168], 6
call fcn.0046fb60
lea ecx, [esp + 0x34]
mov byte [esp + 0x168], 5
call fcn.0046ec60
lea ecx, [esp + 0x70]
mov byte [esp + 0x168], 4
call fcn.0046ec60
lea ecx, [esp + 0xdc]
mov byte [esp + 0x168], 3
call fcn.00473a90
lea ecx, [esp + 0xa8]
mov byte [esp + 0x168], 2
call fcn.0047de50
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 1
call fcn.0046ec60
lea ecx, [esp + 0xb8]
mov byte [esp + 0x168], bl
call fcn.0046ec60
mov eax, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
cmp esi, eax
mov dword [esp + 0x168], 0xffffffff
mov edi, eax
je 0x408e16
push ebx
mov ecx, esi
call fcn.00402090
add esi, 4
cmp esi, edi
jne 0x408219
jmp 0x408e0f
mov ecx, dword [0x4b63e0]
call fcn.004187e0
mov dl, byte [esp + 0x13]
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x78], dl
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x88], al
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x48], cl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x64], ebx
mov byte [esp + 0x60], dl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 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 + 0x28], ebx
mov byte [esp + 0x24], cl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xc8]
mov byte [esp + 0x16c], 0x11
mov byte [esp + 0xc8], dl
call fcn.00401bb0
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0xc8]
push ebp
call fcn.0040aba0
test al, al
je 0x40832f
mov edi, dword [esp + 0xc8]
mov ecx, ebp
mov eax, ecx
mov esi, 0x4b63f0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc8]
call fcn.0040ab80
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
push ecx
push eax
push eax
mov byte [esp + 0x174], 0x12
call fcn.0040b0a0
mov edx, dword [esp + 0x8c]
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x78]
push edx
push esi
call fcn.0040ab30
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x80], esi
push eax
mov eax, dword [esp + 0x94]
push eax
push eax
call fcn.0040b0a0
mov ecx, dword [esp + 0x9c]
add esp, 0xc
mov esi, eax
push ecx
push esi
lea ecx, [esp + 0x90]
call fcn.0040ab30
mov edx, dword [0x4b63e0]
mov dword [esp + 0x90], esi
lea eax, [esp + 0x24]
lea esi, [edx + 8]
cmp eax, esi
je 0x4084c4
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4083bf
xor edi, edi
jmp 0x4083c7
mov edi, dword [esi + 8]
sub edi, eax
sar edi, 2
lea ecx, [esp + 0x24]
call fcn.0040a860
cmp edi, eax
ja 0x40840f
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.0040b060
mov ecx, dword [esp + 0x38]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.0040ab00
mov ecx, esi
call fcn.0040a860
mov edx, dword [esp + 0x28]
lea eax, [edx + eax*4]
mov dword [esp + 0x2c], eax
jmp 0x4084c4
mov ecx, esi
call fcn.0040a860
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.0040aae0
cmp edi, eax
ja 0x40846d
mov edi, dword [esi + 4]
lea ecx, [esp + 0x24]
call fcn.0040a860
mov ecx, dword [esp + 0x28]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.0040b060
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x24]
push edx
push eax
push edi
call fcn.00401c00
mov ecx, esi
call fcn.0040a860
mov ecx, dword [esp + 0x28]
lea edx, [ecx + eax*4]
mov dword [esp + 0x2c], edx
jmp 0x4084c4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040ab00
mov edx, dword [esp + 0x28]
push edx
call fcn.0048d500
add esp, 4
mov ecx, esi
call fcn.0040a860
cmp eax, ebx
jge 0x40849a
xor eax, eax
shl eax, 2
push eax
call fcn.0048db76
add esp, 4
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x30]
call fcn.00401c00
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x88]
lea edx, [esp + 0x78]
push ecx
push edx
sub esp, 0x10
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0040a7f0
mov ecx, dword [0x4b63e0]
call fcn.004200f0
mov dword [esp + 0x5c], eax
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b645c]
call fcn.00471f00
cmp word [esp + 0x5c], bx
jle 0x408572
movsx eax, word [esp + 0x5c]
xor ebp, ebp
mov dword [esp + 0x98], eax
push ebp
lea ecx, [esp + 0x7c]
call fcn.00425f50
mov edi, eax
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
mov cl, byte [edi]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00401bb0
mov edx, dword [0x4a0148]
mov ecx, esi
push edx
push ebx
push edi
call fcn.0040a8e0
mov ecx, dword [0x4b645c]
call fcn.00472040
mov eax, dword [esp + 0x98]
inc ebp
dec eax
mov dword [esp + 0x98], eax
jne 0x408524
mov ecx, dword [0x4b645c]
push 1
call fcn.00471e60
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x4ae23c
call fcn.0046ebc0
push esi
call fcn.00470800
mov ecx, dword [0x4b645c]
add esp, 8
call fcn.00472190
mov ecx, dword [0x4b645c]
lea eax, [esp + 0xb8]
push eax
call fcn.004722e0
test al, al
je 0x408e27
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
push ecx
push eax
push eax
call fcn.0040b0a0
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x48]
push edx
push esi
call fcn.0040ab30
mov eax, dword [esp + 0x64]
mov dword [esp + 0x50], esi
push eax
mov eax, dword [esp + 0x6c]
push eax
push eax
call fcn.0040b0a0
mov ecx, dword [esp + 0x74]
add esp, 0xc
mov esi, eax
push ecx
push esi
lea ecx, [esp + 0x68]
call fcn.0040ab30
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push edx
push eax
push eax
mov dword [esp + 0x74], esi
call fcn.0040b060
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x38]
push eax
push esi
call fcn.0040ab00
mov eax, esi
xor edi, edi
cmp word [esp + 0x5c], bx
mov dword [esp + 0x40], eax
jle 0x4086bf
xor esi, esi
xor ebp, ebp
push edi
lea ecx, [esp + 0xbc]
call fcn.00472570
test al, al
je 0x4086ad
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
lea edx, [ecx + ebp]
lea ecx, [esp + 0x38]
push edx
push 1
push eax
call fcn.00401c40
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x50]
lea edx, [esi + ecx]
lea ecx, [esp + 0x48]
push edx
push 1
push eax
call fcn.0040acc0
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x68]
lea edx, [esi + ecx]
lea ecx, [esp + 0x60]
push edx
push 1
push eax
call fcn.0040acc0
inc edi
add ebp, 4
add esi, 0x10
cmp di, word [esp + 0x5c]
jl 0x408651
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
cmp ecx, ebx
je 0x4086d5
mov edx, dword [esp + 0x50]
sub edx, ecx
test edx, 0xfffffff0
jne 0x408739
cmp word [esp + 0x5c], bx
jle 0x408739
movsx ebp, word [esp + 0x5c]
xor esi, esi
xor edi, edi
mov ecx, dword [esp + 0x28]
lea edx, [edi + ecx]
lea ecx, [esp + 0x38]
push edx
push 1
push eax
call fcn.00401c40
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x50]
lea ecx, [esi + eax]
push ecx
push 1
push edx
lea ecx, [esp + 0x54]
call fcn.0040acc0
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x68]
lea ecx, [esi + eax]
push ecx
push 1
push edx
lea ecx, [esp + 0x6c]
call fcn.0040acc0
mov eax, dword [esp + 0x40]
add edi, 4
add esi, 0x10
dec ebp
jne 0x4086e5
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x9c], ebx
cmp ecx, ebx
jne 0x40874c
xor eax, eax
jmp 0x408751
sub eax, ecx
sar eax, 2
sub esp, 0x10
mov dword [esp + 0xa8], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x23], bl
mov al, byte [esp + 0x23]
mov ebp, esp
mov dword [esp + 0x24], esp
push ebx
mov ecx, ebp
mov byte [ebp], al
call fcn.00401bb0
mov edi, str.DATALIST.DB
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.0040aba0
test al, al
je 0x4087bd
mov eax, dword [esp + 0x24]
mov edi, dword [ebp + 4]
mov ecx, eax
mov esi, str.DATALIST.DB
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.0040ab80
mov ecx, dword [0x4b63ec]
lea eax, [esp + 0x110]
push eax
call fcn.00415020
cmp ax, bx
je 0x408ba6
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x4ae254
call fcn.0046ebc0
push ecx
mov byte [esp + 0x178], 0x13
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x4ae234
call fcn.0046ebc0
mov ecx, 0x4b6448
mov byte [esp + 0x178], 0x12
call fcn.00472d90
mov ecx, dword [0x4b63dc]
call fcn.00412480
push ebx
lea edx, [esp + 0xab]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
push 0x4b63f0
call fcn.00401aa0
sub esp, 0x10
lea eax, [esp + 0x44]
mov esi, esp
mov dword [esp + 0x38], esp
push ecx
mov byte [esp + 0x190], 0x14
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0046eb30
push esi
call fcn.00470800
mov esi, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
add esp, 8
mov byte [esp + 0x18c], 0x12
push esi
push ecx
mov ecx, dword [0x4b6450]
call fcn.00471880
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x1c]
lea ebp, [edx + eax]
cmp bp, si
jle 0x4088a5
mov ebp, esi
cmp ax, bp
mov edi, eax
jge 0x408b72
jmp 0x4088b9
mov eax, dword [esp + 0x9c]
cmp byte [esp + 0x13], bl
je 0x4089f9
mov ecx, dword [0x4b6450]
call fcn.004719f0
cmp al, 1
je 0x408ab7
cmp al, 2
je 0x408ab7
movsx esi, di
push esi
lea ecx, [esp + 0x3c]
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.0046eb30
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0x104]
push eax
call fcn.00407930
lea ecx, [esp + 0xc4]
push ecx
push esi
lea ecx, [esp + 0x40]
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call fcn.0046eb30
sub esp, 0x10
mov byte [esp + 0x180], 0x19
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4b63c8
call fcn.0040a7f0
mov ecx, dword [0x4b63e0]
lea edx, [esp + 0x118]
push edx
mov byte [esp + 0x184], 0x12
call fcn.00420a10
push esi
lea ecx, [esp + 0x8c]
call fcn.00425f50
mov dl, byte [eax]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x68], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x4a0148]
push edx
push ebx
push eax
call fcn.0040a8e0
sub esp, 0x10
lea eax, [esp + 0xe4]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x18c], 0x1a
call fcn.0040a690
push esi
lea ecx, [esp + 0x9c]
mov byte [esp + 0x18c], 0x1b
call fcn.00425f50
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x104], esp
push eax
call fcn.0040a690
mov ecx, dword [0x4b6450]
mov byte [esp + 0x198], 0x12
call fcn.00471ac0
inc edi
cmp di, bp
jl 0x4088b2
jmp 0x408b72
cmp ax, bp
mov byte [esp + 0x13], 1
jge 0x408b72
movsx edi, ax
movsx eax, bp
sub eax, edi
mov dword [esp + 0x14], eax
push edi
lea ecx, [esp + 0x64]
call fcn.00425f50
mov ebp, eax
sub esp, 0x10
mov esi, esp
mov dword [esp + 0xe4], esp
mov cl, byte [ebp]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00401bb0
mov edx, dword [0x4a0148]
mov ecx, esi
push edx
push ebx
push ebp
call fcn.0040a8e0
sub esp, 0x10
lea eax, [esp + 0xc5]
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
push 0x4ae230
mov byte [esp + 0x190], 0x15
call fcn.00401aa0
push edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x18c], 0x16
call fcn.00425f50
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xd0], esp
push eax
call fcn.0040a690
mov ecx, dword [0x4b6450]
mov byte [esp + 0x198], 0x12
call fcn.00471ac0
mov eax, dword [esp + 0x14]
inc edi
dec eax
mov dword [esp + 0x14], eax
jne 0x408a13
jmp 0x408b72
cmp di, bp
mov byte [esp + 0x13], bl
jge 0x408b72
movsx edi, di
movsx eax, bp
sub eax, edi
mov dword [esp + 0x14], eax
push edi
lea ecx, [esp + 0x64]
call fcn.00425f50
mov ebp, eax
sub esp, 0x10
mov esi, esp
mov dword [esp + 0xb0], esp
mov cl, byte [ebp]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00401bb0
mov edx, dword [0x4a0148]
mov ecx, esi
push edx
push ebx
push ebp
call fcn.0040a8e0
sub esp, 0x10
lea eax, [esp + 0xc6]
mov ecx, esp
mov dword [esp + 0xf4], esp
push eax
push 0x4ae230
mov byte [esp + 0x190], 0x17
call fcn.00401aa0
push edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x18c], 0x18
call fcn.00425f50
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
call fcn.0040a690
mov ecx, dword [0x4b6450]
mov byte [esp + 0x198], 0x12
call fcn.00471ac0
mov eax, dword [esp + 0x14]
inc edi
dec eax
mov dword [esp + 0x14], eax
jne 0x408ad0
lea ecx, [esp + 0x1c]
push ebx
lea edx, [esp + 0xa0]
push ecx
mov ecx, dword [0x4b6450]
push edx
call fcn.00471a20
cmp ax, 0xb
jne 0x40881b
lea ecx, [esp + 0x100]
call fcn.0046fec0
jmp 0x4084f3
lea ecx, [esp + 0x100]
call fcn.0046fec0
push 1
lea ecx, [esp + 0xc8]
mov byte [esp + 0x16c], 0x11
call fcn.00401bb0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, edi
mov byte [esp + 0x168], 0x10
je 0x408bef
push ebx
mov ecx, esi
call fcn.00402090
add esi, 4
cmp esi, edi
jne 0x408bdc
mov esi, dword [esp + 0x28]
push esi
call fcn.0048d500
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
add esp, 4
cmp esi, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x168], 0xf
je 0x408c2b
push ebx
mov ecx, esi
call fcn.00402090
add esi, 4
cmp esi, edi
jne 0x408c18
mov esi, dword [esp + 0x3c]
push esi
call fcn.0048d500
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
add esp, 4
cmp esi, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x168], 0xe
je 0x408c67
push ebx
mov ecx, esi
call fcn.0040b370
add esi, 0x10
cmp esi, edi
jne 0x408c54
mov esi, dword [esp + 0x64]
push esi
call fcn.0048d500
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
add esp, 4
cmp esi, edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x168], 0xd
je 0x408ca3
push ebx
mov ecx, esi
call fcn.0040b370
add esi, 0x10
cmp esi, edi
jne 0x408c90
mov esi, dword [esp + 0x4c]
push esi
call fcn.0048d500
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
add esp, 4
cmp esi, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x168], 0xc
je 0x408ce8
push ebx
mov ecx, esi
call fcn.0040b370
add esi, 0x10
cmp esi, edi
jne 0x408cd2
mov esi, dword [esp + 0x8c]
push esi
call fcn.0048d500
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
add esp, 4
cmp esi, edi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov byte [esp + 0x168], 8
je 0x408d33
push ebx
mov ecx, esi
call fcn.0040b370
add esi, 0x10
cmp esi, edi
jne 0x408d20
mov esi, dword [esp + 0x7c]
push esi
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x168], 7
call fcn.0046ec60
lea ecx, [esp + 0x100]
mov byte [esp + 0x168], 6
call fcn.0046fb60
lea ecx, [esp + 0x34]
mov byte [esp + 0x168], 5
call fcn.0046ec60
lea ecx, [esp + 0x70]
mov byte [esp + 0x168], 4
call fcn.0046ec60
lea ecx, [esp + 0xdc]
mov byte [esp + 0x168], 3
call fcn.00473a90
lea ecx, [esp + 0xa8]
mov byte [esp + 0x168], 2
call fcn.0047de50
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 1
call fcn.0046ec60
lea ecx, [esp + 0xb8]
mov byte [esp + 0x168], bl
call fcn.0046ec60
mov eax, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
cmp esi, eax
mov dword [esp + 0x168], 0xffffffff
mov edi, eax
je 0x408e16
push ebx
mov ecx, esi
call fcn.00402090
add esi, 4
cmp esi, edi
jne 0x408e00
mov esi, dword [esp + 0x174]
push esi
call fcn.0048d500
add esp, 4
xor ax, ax
jmp 0x409132
lea ecx, [esp + 0xa8]
call fcn.0047e270
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x74]
call fcn.0046ee50
lea ecx, [esp + 0x70]
mov word [esp + 0x74], 1
push ecx
lea ecx, [esp + 0xac]
call fcn.0047e080
sub esp, 0x24
lea eax, [esp + 0xcc]
mov edx, esp
mov dword [esp + 0xc4], esp
push ebx
push eax
push edx
mov ecx, 0x4b6410
call fcn.0047bfc0
lea ecx, [esp + 0x100]
call fcn.00473b40
mov eax, dword [esp + 0xc8]
cmp eax, ebx
je 0x408ebc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x408eb3
cmp al, 0xff
je 0x408eb3
dec al
mov byte [ecx], al
jmp 0x408ebc
push ecx
call fcn.0048d500
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov byte [esp + 0x168], 0x10
mov edi, eax
je 0x408ef9
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x408ee7
mov esi, dword [esp + 0x28]
push esi
call fcn.0048d500
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
add esp, 4
cmp esi, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x168], 0xf
mov edi, eax
je 0x408f36
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x408f24
mov esi, dword [esp + 0x3c]
push esi
call fcn.0048d500
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
add esp, 4
cmp esi, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x168], 0xe
je 0x408f73
push 1
mov ecx, esi
call fcn.00401bb0
add esi, 0x10
cmp esi, edi
jne 0x408f5f
mov esi, dword [esp + 0x64]
push esi
call fcn.0048d500
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
add esp, 4
cmp esi, edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x168], 0xd
je 0x408fb0
push 1
mov ecx, esi
call fcn.00401bb0
add esi, 0x10
cmp esi, edi
jne 0x408f9c
mov esi, dword [esp + 0x4c]
push esi
call fcn.0048d500
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
add esp, 4
cmp esi, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x168], 0xc
je 0x408ff6
push 1
mov ecx, esi
call fcn.00401bb0
add esi, 0x10
cmp esi, edi
jne 0x408fdf
mov esi, dword [esp + 0x8c]
push esi
call fcn.0048d500
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
add esp, 4
cmp esi, edi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov byte [esp + 0x168], 8
je 0x409042
push 1
mov ecx, esi
call fcn.00401bb0
add esi, 0x10
cmp esi, edi
jne 0x40902e
mov esi, dword [esp + 0x7c]
push esi
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x168], 7
call fcn.0046ec60
lea ecx, [esp + 0x100]
mov byte [esp + 0x168], 6
call fcn.0046fb60
lea ecx, [esp + 0x34]
mov byte [esp + 0x168], 5
call fcn.0046ec60
lea ecx, [esp + 0x70]
mov byte [esp + 0x168], 4
call fcn.0046ec60
lea ecx, [esp + 0xdc]
mov byte [esp + 0x168], 3
call fcn.00473a90
lea ecx, [esp + 0xa8]
mov byte [esp + 0x168], 2
call fcn.0047de50
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 1
call fcn.0046ec60
lea ecx, [esp + 0xb8]
mov byte [esp + 0x168], bl
call fcn.0046ec60
mov eax, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
cmp esi, eax
mov dword [esp + 0x168], 0xffffffff
mov edi, eax
je 0x409124
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x40910f
mov esi, dword [esp + 0x174]
push esi
call fcn.0048d500
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret 0x10