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

Disassembly:
push ebp
sub esp, 0x74
mov eax, 0x4267ed
call fcn.00413ab0
mov eax, 0x5490
call fcn.00413ad0
or dword [ebp + 0x4c], 0xffffffff
or dword [ebp + 0x20], 0xffffffff
or dword [ebp + 0x10], 0xffffffff
push ebx
xor ebx, ebx
mov eax, ebx
mov dword [ebp + 0x1c], ebx
push esi
mov esi, ebx
mov dword [ebp + 0x48], eax
mov ecx, ebx
mov dword [ebp + 0x74], esi
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x58], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp + 0x50], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x38], bl
cmp byte [0x458d99], bl
push 0x45beb2
sete al
mov dword [ebp - 4], ebx
movzx eax, al
push eax
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x24], ebx
call fcn.004078a5
push 0x40
lea ecx, [ebp - 0x80]
mov dword [ebp + 0x38], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x64], ebx
call fcn.00407dc3
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 1
call fcn.004068be
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x24], bl
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
call fcn.004068be
mov al, byte [0x457cbc]
mov byte [ebp - 4], 4
mov dword [0x43c4ec], 1
mov byte [0x43c4f0], al
mov dword [0x43c528], ebx
push edi
call fcn.0040789c
test al, al
jne 0x4090e9
mov eax, ebx
mov edi, ebx
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x6c], edi
cmp eax, 0x40
jl 0x408247
cmp byte [0x44d7dc], 0
je 0x408592
cmp eax, dword [ebp - 0x7c]
jl 0x408256
inc eax
lea ecx, [ebp - 0x80]
push eax
call fcn.00408064
mov eax, dword [ebp - 0x80]
add eax, edi
mov edi, 0x43c530
push 4
push edi
mov dword [0x43c538], eax
call fcn.0040a208
test eax, eax
je 0x40873a
push edi
call fcn.00409a64
test al, al
je 0x4086ca
call fcn.0040cb2f
test eax, eax
jne 0x4086c6
mov word [0x44c654], ax
movzx eax, byte [0x44c5c9]
push eax
movzx eax, word [0x44c5e8]
push 0x44c5cc
push 2
push eax
call fcn.00409e03
test eax, eax
je 0x4082c8
cmp eax, esi
jle 0x4082bf
mov esi, eax
mov dword [ebp + 0x74], esi
cmp eax, 1
jg 0x40857a
movzx eax, word [0x44c5ea]
push ebx
push ebx
push 3
push eax
call fcn.00409e03
test eax, eax
je 0x4082ef
cmp eax, esi
jle 0x4082e6
mov esi, eax
mov dword [ebp + 0x74], esi
cmp eax, 1
jg 0x40857a
movzx eax, word [0x44c5ea]
push ebx
push eax
push dword [0x44c598]
call fcn.0040c737
movzx eax, word [0x44c5ea]
push 0x44c5ce
push eax
push dword [0x44c598]
call fcn.0040997f
movzx eax, word [0x44c5ec]
push ebx
push ebx
push ebx
push eax
call fcn.00409e03
test eax, eax
je 0x408341
cmp eax, esi
jle 0x408338
mov esi, eax
mov dword [ebp + 0x74], esi
cmp eax, 1
jg 0x40857a
push 0x3000
lea eax, [ebp - 0x549c]
push eax
push dword [0x44d654]
movzx eax, word [0x44c5ea]
push eax
push dword [0x44c598]
call fcn.004098e9
test al, al
je 0x40838d
push 0x800
mov edi, 0x44c654
lea eax, [ebp - 0x549c]
push edi
push eax
call fcn.0040e1d6
push 0x800
push edi
push edi
call fcn.0040392f
movzx ecx, word [0x44c5d2]
movzx eax, word [0x44c5d0]
shl ecx, 0x10
or ecx, eax
push ecx
mov ecx, dword [0x43c538]
lea ecx, [ecx + 0x28]
call fcn.00407152
mov eax, dword [0x43c538]
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
mov eax, dword [0x43c538]
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov ecx, dword [0x43c538]
lea eax, [ecx + 0x38]
push eax
lea eax, [ecx + 0x30]
push eax
lea eax, [ecx + 0x28]
push eax
movzx eax, word [0x44c5ea]
push eax
push dword [0x44c598]
call fcn.0040977b
movzx edi, word [0x44c5ea]
mov ecx, dword [0x44c598]
mov dword [ebp + 0x68], ecx
test edi, edi
je 0x408406
test ecx, ecx
jne 0x40852d
mov byte [ebp + 0x73], bl
lea ecx, [ebp - 0x249c]
call fcn.00407de5
push 0x2310
lea eax, [ebp - 0x249c]
mov byte [ebp - 4], 5
push ebx
push eax
call fcn.00414b90
add esp, 0xc
lea eax, [ebp - 0x2474]
push 0x800
push 0x44c654
push eax
call fcn.00406889
lea eax, [ebp - 0x2474]
push eax
call fcn.00403833
mov edi, eax
lea eax, [ebp - 0x2474]
cmp edi, eax
jbe 0x40846d
movzx eax, word [edi]
push eax
call fcn.00403705
test al, al
je 0x40846d
xor eax, eax
mov word [edi], ax
cmp byte [ebp + 0x73], 0
mov eax, dword [0x43c538]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x145c], ecx
mov ecx, dword [0x44c5e4]
mov dword [ebp - 0x1458], eax
mov eax, dword [0x44c5e0]
mov dword [ebp - 0x143c], eax
mov dword [ebp - 0x1438], ecx
jne 0x408559
push ebx
push ebx
push ebx
push 6
push ebx
lea eax, [ebp - 0x249c]
mov ecx, 0x451b98
push eax
call fcn.004014eb
test eax, eax
je 0x408559
call fcn.00409b31
test eax, eax
je 0x408556
push 0x44c654
lea ecx, [ebp - 0x140]
call fcn.004069a5
mov edi, dword [ebp + 0x6c]
inc dword [ebp + 0x5c]
add edi, 0x48
mov dword [ebp + 0x6c], edi
jmp 0x40855c
push ecx
call fcn.0040a0b5
movzx eax, ax
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x68]
add eax, 2
push eax
call fcn.0040a0b5
movzx edx, ax
lea eax, [edi - 4]
cmp edx, eax
ja 0x408406
cmp dword [ebp + 0x3c], 0x17
je 0x408537
mov ecx, dword [ebp + 0x68]
push 0xfffffffffffffffc
add ecx, 4
pop eax
add ecx, edx
sub eax, edx
mov dword [ebp + 0x68], ecx
add edi, eax
cmp edi, 4
jae 0x4084ef
jmp 0x408406
push str.AES_0017
push 0x44c654
push 0x45beb2
push 0x22
mov byte [ebp + 0x73], 1
call fcn.00407d6e
jmp 0x408409
inc dword [ebp + 0x48]
mov edi, dword [ebp + 0x6c]
add dword [ebp + 0x38], 1
lea ecx, [ebp - 0x1474]
mov byte [ebp - 4], 4
adc dword [ebp + 4], ebx
call fcn.004063f8
mov eax, dword [ebp + 0x5c]
jmp 0x408235
push 0x44c654
push 0x45beb2
push 0x1c
call fcn.00401654
mov dword [ebp + 0x64], 1
mov edi, dword [ebp + 0x74]
cmp byte [0x44d7dc], 0
mov eax, dword [0x44c588]
mov dword [ebp - 0x58], eax
mov eax, dword [0x44c58c]
mov dword [ebp - 0x54], eax
mov eax, dword [0x44c548]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x44c550]
mov dword [ebp - 0x14], eax
mov eax, dword [0x44c554]
mov dword [ebp - 0x1c], eax
je 0x408636
push 0x45beb2
mov dword [0x44d7e0], ebx
call fcn.0040807e
test al, al
mov eax, str.zx01
jne 0x4085e4
mov eax, 0x427ec4
push 0x800
push eax
push 0x45beb2
call fcn.004038c5
mov eax, dword [0x44c568]
test eax, eax
je 0x408613
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x427220]
mov ecx, dword [0x44c568]
call esi
mov dword [0x44c568], ebx
call fcn.0040a0ca
cmp byte [0x458d99], 0
push 0x45beb2
sete al
movzx eax, al
push eax
call fcn.004078a5
mov eax, ebx
mov dword [ebp + 0x3c], ebx
cmp dword [ebp + 0x5c], eax
jle 0x408c98
mov ecx, dword [ebp + 0x1c]
shl ecx, 6
mov dword [ebp - 0x50], ecx
add ecx, eax
imul eax, eax, 0x48
mov dword [ebp + 0x4c], ecx
lea ecx, [ebp - 0x140]
add eax, dword [ebp - 0x80]
mov dword [0x43c538], eax
call fcn.004069e1
cmp byte [0x44d7dc], 0
mov esi, dword [0x43c538]
mov dword [ebp + 0x44], eax
je 0x40878b
mov ecx, dword [esi + 0x20]
cmp ecx, dword [0x44d7e0]
je 0x40878b
movzx eax, word [0x44c600]
cmp ecx, eax
jne 0x40873e
mov esi, 0x45beb2
push esi
call fcn.0040807e
test al, al
mov eax, str.zipx
jne 0x4086b5
mov eax, 0x427ed8
push 0x800
push eax
push esi
call fcn.004038c5
jmp 0x40874e
mov edi, eax
jmp 0x4086fe
mov eax, dword [ebp + 0x38]
mov ecx, dword [0x44c610]
xor eax, ecx
movzx eax, ax
or eax, ebx
je 0x408703
cmp ecx, 0xffff
jne 0x4086ec
cmp dword [0x44c614], ebx
je 0x408703
push 0x45beb2
mov ecx, 0x451b1c
call fcn.004016e0
push 3
pop edi
mov dword [ebp + 0x74], edi
jmp 0x40872e
push edi
call fcn.00409aac
test al, al
jne 0x408728
cmp byte [0x44d7e4], al
je 0x40871f
push edi
call fcn.00409a88
test al, al
jne 0x408728
mov dword [ebp + 0x18], 1
jmp 0x40872b
mov dword [ebp + 0x18], ebx
mov edi, dword [ebp + 0x74]
mov dword [ebp + 0x64], 1
jmp 0x408595
push 0x33
jmp 0x4086fd
push ecx
push 0x800
push 0x45beb2
call fcn.004080b8
mov eax, dword [0x43c538]
mov eax, dword [eax + 0x20]
mov dword [0x44d7e0], eax
mov eax, dword [0x44c568]
test eax, eax
je 0x40877a
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x427220]
mov ecx, dword [0x44c568]
call esi
mov dword [0x44c568], ebx
call fcn.0040a0ca
mov esi, dword [0x43c538]
mov eax, dword [esi]
add eax, dword [0x44c590]
mov esi, dword [esi + 4]
adc esi, dword [0x44c594]
push ebx
push 0x2000
push esi
push eax
mov dword [ebp + 0x40], eax
call fcn.00413fe0
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x40]
mov ecx, eax
sub ecx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], esi
sbb dword [ebp + 0x6c], edx
cmp esi, ebx
jg 0x40885c
jl 0x4087cf
cmp eax, ebx
jae 0x40885c
push 0x45beb2
mov ecx, 0x451b1c
call fcn.004016e0
cmp dword [ebp + 0x4c], 0
push 2
pop edi
mov dword [ebp + 0x74], edi
jne 0x408851
mov ecx, dword [0x44c590]
mov eax, ecx
mov edx, dword [0x44c594]
or eax, edx
je 0x408851
mov eax, dword [0x43c538]
push ebx
push 0x2000
mov dword [0x44c590], ebx
mov dword [0x44c594], ebx
mov esi, dword [eax + 4]
mov dword [ebp + 0x34], ecx
mov ecx, dword [eax]
push esi
push ecx
mov dword [ebp + 0x30], edx
mov dword [ebp + 0x54], ecx
call fcn.00413fe0
mov ecx, dword [ebp + 0x54]
sub ecx, eax
mov dword [ebp + 0x68], eax
mov eax, esi
sbb eax, edx
mov dword [ebp + 0x6c], eax
cmp esi, ebx
jg 0x40885f
jl 0x408842
cmp dword [ebp + 0x54], ebx
jae 0x40885f
push 0x45beb2
mov ecx, 0x451b1c
call fcn.004016e0
push 3
pop edi
mov dword [ebp + 0x74], edi
jmp 0x408f41
mov eax, dword [ebp + 0x6c]
cmp ecx, dword [0x44c588]
jne 0x4088a4
cmp eax, dword [0x44c58c]
jne 0x4088a4
cmp byte [0x44d7dc], 0
jne 0x4088a4
mov eax, dword [0x44c548]
mov esi, dword [ebp + 0x68]
sub eax, esi
mov ecx, dword [0x44c544]
sub eax, ecx
cdq
add dword [0x44c550], eax
adc dword [0x44c554], edx
lea eax, [esi + ecx]
mov dword [0x44c548], eax
jmp 0x408939
mov edi, dword [0x44c568]
push ebx
push dword [ebp + 0x6c]
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x427220]
mov ecx, edi
call esi
mov edi, dword [0x44c568]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x427220]
mov ecx, edi
call esi
push 0x2000
push dword [0x44c544]
mov dword [0x44c588], eax
mov dword [0x44c58c], edx
call fcn.0040a61f
cdq
mov esi, edx
mov ecx, eax
mov dword [0x44c550], ecx
mov dword [0x44c554], esi
cmp esi, ebx
jg 0x408915
jl 0x408842
cmp ecx, ebx
jbe 0x408842
mov eax, dword [0x44c544]
add eax, dword [ebp + 0x68]
mov edi, dword [ebp + 0x74]
mov dword [0x44c548], eax
mov eax, dword [ebp + 0x68]
cdq
sub ecx, eax
mov dword [0x44c550], ecx
sbb esi, edx
mov dword [0x44c554], esi
push 4
mov esi, 0x43c530
push esi
call fcn.0040a208
test eax, eax
je 0x408842
push esi
call fcn.00409ad0
test al, al
jne 0x4089e6
cmp dword [ebp + 0x4c], 0
mov edx, dword [0x44c594]
mov ecx, dword [0x44c590]
jne 0x408988
mov eax, ecx
or eax, edx
je 0x408988
mov dword [ebp + 0x34], ecx
mov dword [ebp + 0x30], edx
mov dword [0x44c590], ebx
mov dword [0x44c594], ebx
jmp 0x4089ac
or ecx, edx
jne 0x408842
mov esi, dword [ebp + 0x34]
mov eax, esi
mov ecx, dword [ebp + 0x30]
or eax, ecx
je 0x408842
mov dword [0x44c590], esi
mov dword [0x44c594], ecx
mov eax, dword [0x43c538]
push dword [eax + 4]
push dword [eax]
call fcn.0040a448
test eax, eax
jne 0x408842
push 4
mov esi, 0x43c530
push esi
call fcn.0040a208
test eax, eax
je 0x408842
push esi
call fcn.00409ad0
test al, al
je 0x408842
call fcn.0040cca1
mov esi, eax
test esi, esi
je 0x408a07
push 0x45beb2
mov ecx, 0x451b1c
call fcn.004016e0
mov edi, esi
jmp 0x408854
push ebx
xor eax, eax
push 0x44c5a2
mov word [0x44c654], ax
movzx eax, word [0x44c5c0]
push 2
push eax
call fcn.00409e03
test eax, eax
je 0x408a4c
cmp eax, edi
jle 0x408a31
mov edi, eax
mov dword [ebp + 0x74], edi
cmp eax, 1
jle 0x408a4c
push 0x44c654
push 0x45beb2
push 0x1c
call fcn.00401654
jmp 0x408f41
mov eax, dword [0x44c598]
test eax, eax
je 0x408a62
push eax
call fcn.00417ffe
pop ecx
mov dword [0x44c598], ebx
movzx eax, word [0x44c5c2]
push ebx
push ebx
push 3
push eax
call fcn.00409e03
test eax, eax
je 0x408a85
cmp eax, edi
jle 0x408a80
mov edi, eax
mov dword [ebp + 0x74], edi
cmp eax, 1
jg 0x408a36
movzx eax, word [0x44c5c2]
push 1
push eax
push dword [0x44c598]
call fcn.0040c737
push 0x3000
lea eax, [ebp - 0x549c]
push eax
push dword [0x44d654]
movzx eax, word [0x44c5c2]
push eax
push dword [0x44c598]
call fcn.004098e9
mov edi, 0x800
mov esi, 0x44c654
test al, al
je 0x408ae3
push edi
push esi
lea eax, [ebp - 0x549c]
push eax
call fcn.0040e1d6
push edi
push esi
push esi
call fcn.0040392f
mov edx, dword [0x43c538]
push 0x44d668
push 0x44d660
push 0x44d658
mov eax, dword [edx + 0x28]
mov ecx, dword [edx + 0x2c]
mov dword [0x44d658], eax
mov dword [0x44d65c], ecx
mov eax, dword [edx + 0x30]
mov ecx, dword [edx + 0x34]
mov dword [0x44d660], eax
mov dword [0x44d664], ecx
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x3c]
mov dword [0x44d668], eax
movzx eax, word [0x44c5c2]
push eax
push dword [0x44c598]
mov dword [0x44d66c], ecx
call fcn.0040977b
movzx eax, word [0x44c5c2]
push 0x44c5a4
push eax
push dword [0x44c598]
call fcn.0040997f
push edi
push dword [ebp + 0x44]
push esi
call fcn.00406889
mov ecx, dword [0x43c538]
lea eax, [ecx + 0x24]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push dword [ecx + 0x1c]
push esi
call fcn.0040e212
cmp word [0x44c654], 0
mov byte [ebp + 0x73], al
je 0x408bbc
cmp word [0x44c656], 0
je 0x408bbc
movzx eax, word [0x44c658]
mov ecx, 0x44c658
test ax, ax
je 0x408bbc
mov edx, eax
cmp dx, 0x3a
jne 0x408baf
push 0x5f
pop eax
mov word [ecx], ax
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x408ba3
push edi
push esi
push esi
call fcn.00403215
cmp byte [ebp + 0x73], 0
je 0x408bd0
mov edx, ebx
mov esi, ebx
jmp 0x408bdc
mov edx, dword [0x43c508]
mov esi, dword [0x43c50c]
movzx eax, word [0x44c5c0]
xor edi, edi
movzx ecx, word [0x44c5c2]
add eax, 0x1e
add ecx, eax
mov eax, dword [ebp + 0x20]
add ecx, edx
mov dword [ebp + 0x44], ecx
adc edi, esi
and eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
mov dword [ebp + 0x40], edi
mov eax, dword [0x43c538]
je 0x408e2e
mov edx, dword [ebp - 0x4c]
cmp edx, dword [eax + 0x20]
jne 0x408e2e
mov esi, dword [eax + 4]
mov edx, dword [eax]
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x54], esi
cmp esi, dword [ebp + 0x10]
jg 0x408e2e
jl 0x408c3a
cmp edx, dword [ebp + 0x20]
jae 0x408e2e
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x60], edi
mov edi, dword [ebp + 0x2c]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], ecx
cmp edi, esi
jg 0x408d15
jl 0x408c5e
cmp eax, edx
ja 0x408d15
mov ecx, eax
mov eax, edi
add ecx, dword [ebp + 0x28]
adc eax, dword [ebp + 0x24]
cmp eax, esi
jg 0x408c7a
jl 0x408d1f
cmp ecx, edx
jbe 0x408d1f
push 0x44c654
push 0x45beb2
push 0x1c
call fcn.00401654
push 3
pop eax
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x64], 1
mov edi, dword [0x44c568]
push ebx
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x58]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x427220]
mov ecx, edi
call esi
mov edi, dword [0x44c568]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x427220]
mov ecx, edi
call esi
push 0x2000
push dword [0x44c544]
mov dword [0x44c588], eax
mov dword [0x44c58c], edx
call fcn.0040a61f
mov eax, dword [ebp - 0x5c]
inc dword [ebp + 0x1c]
cmp dword [ebp + 0x64], 0
mov esi, dword [ebp + 0x74]
mov dword [0x44c548], eax
mov eax, dword [ebp - 0x14]
mov dword [0x44c550], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x44c554], eax
jne 0x4090e9
jmp 0x40821e
mov ecx, dword [ebp + 0x28]
add ecx, eax
mov eax, dword [ebp + 0x24]
adc eax, edi
mov edi, edx
mov edx, esi
add edi, dword [ebp + 0x44]
mov dword [ebp], edi
adc edx, dword [ebp + 0x40]
mov dword [ebp - 0x10], edx
cmp dword [ebp + 0x2c], edx
jg 0x408d4d
jl 0x408d3b
cmp dword [ebp + 0x60], edi
jae 0x408d4d
cmp eax, edx
jg 0x408c7a
jl 0x408d4d
cmp ecx, edi
jae 0x408c7a
mov eax, ebx
mov dword [ebp + 0x68], eax
cmp dword [ebp - 0x44], eax
jbe 0x408dc1
mov ecx, dword [ebp + 0x58]
add ecx, 8
mov esi, dword [ecx - 4]
mov edx, dword [ecx - 8]
cmp esi, dword [ebp + 0x54]
jg 0x408d92
jl 0x408d6f
cmp edx, dword [ebp + 0x6c]
ja 0x408d92
mov edi, edx
mov eax, esi
add edi, dword [ecx]
adc eax, dword [ecx + 4]
cmp eax, dword [ebp + 0x54]
jg 0x408c7a
jl 0x408d8c
cmp edi, dword [ebp + 0x6c]
ja 0x408c7a
mov eax, dword [ebp + 0x68]
mov edi, dword [ebp]
cmp esi, dword [ebp - 0x10]
jg 0x408db5
jl 0x408d9d
cmp edx, edi
jae 0x408db5
add edx, dword [ecx]
adc esi, dword [ecx + 4]
cmp esi, dword [ebp - 0x10]
jg 0x408c7a
jl 0x408db5
cmp edx, edi
jae 0x408c7a
inc eax
add ecx, 0x10
mov dword [ebp + 0x68], eax
cmp eax, dword [ebp - 0x44]
jb 0x408d5d
mov edi, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x50]
inc edi
mov dword [ebp - 0x44], edi
cmp edi, ecx
jbe 0x408e11
mov eax, ecx
add ecx, 0x20
shr eax, 2
add ecx, eax
mov dword [ebp + 0x50], ecx
cmp edi, ecx
jbe 0x408de5
mov ecx, edi
mov dword [ebp + 0x50], ecx
shl ecx, 4
push ecx
push dword [ebp + 0x58]
call fcn.0041a286
mov esi, eax
mov dword [ebp + 0x58], esi
pop ecx
pop ecx
test esi, esi
jne 0x408e06
mov ecx, 0x451b1c
call fcn.004017fb
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], eax
jmp 0x408e14
mov esi, dword [ebp + 0x58]
shl edi, 4
mov ecx, dword [ebp + 0x44]
add edi, 0xfffffff0
add edi, esi
lea esi, [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x43c538]
mov edi, dword [ebp + 0x40]
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [eax + 0x20]
mov dword [ebp + 0x60], edx
add edx, ecx
mov dword [ebp + 0x28], ecx
mov cl, byte [0x458d99]
mov dword [ebp + 0x2c], esi
adc esi, edi
mov dword [ebp + 0x24], edi
mov dword [ebp + 0x20], edx
mov dword [ebp + 0x10], esi
mov dword [ebp - 0x4c], eax
test cl, cl
je 0x408e67
push 0x49
pop eax
cmp word [0x45ae92], ax
mov al, 1
jne 0x408e69
mov al, bl
push ebx
push eax
test cl, cl
mov edi, 0x44c654
sete al
movzx eax, al
push eax
push edi
call fcn.004078be
test al, al
je 0x408c98
cmp byte [0x458d99], 0
je 0x408e99
cmp byte [ebp + 0x73], 0
jmp 0x409064
cmp byte [ebp + 0x73], 0
je 0x408fa9
cmp byte [0x458cf3], 0
jne 0x408f3e
cmp word [0x44c654], 0
je 0x408f3e
cmp dword [0x458cf8], 1
je 0x408f3e
mov eax, dword [0x43c538]
mov esi, ebx
cmp dword [eax + 0x1c], esi
je 0x408ed9
cmp dword [eax + 0x1c], 0xb
jne 0x408edc
mov esi, dword [eax + 0x24]
push edi
call fcn.00402644
test al, al
jne 0x408f5f
cmp byte [0x458d40], al
push esi
sete al
movzx eax, al
push eax
push edi
call fcn.004026d4
test eax, eax
je 0x408f59
movzx eax, byte [0x458ce3]
push eax
push 1
push edi
call fcn.00402515
cmp byte [0x458d40], 0
push esi
sete al
movzx eax, al
push eax
push edi
call fcn.004026d4
test eax, eax
je 0x408f59
push edi
push 0x45beb2
push 0x14
call fcn.00401654
mov ecx, 0x451b1c
call fcn.0040192d
mov edi, dword [ebp + 0x74]
mov eax, dword [ebp + 0x3c]
inc eax
mov dword [ebp + 0x3c], eax
cmp eax, dword [ebp + 0x5c]
jge 0x408c98
mov ecx, dword [ebp - 0x50]
jmp 0x40864d
inc dword [0x43c528]
push edi
lea ecx, [ebp - 0xe0]
call fcn.004069a5
push dword [0x44d65c]
lea ecx, [ebp - 0x34]
push dword [0x44d658]
call fcn.0040811a
push dword [0x44d66c]
lea ecx, [ebp - 0x34]
push dword [0x44d668]
call fcn.0040811a
push dword [0x44d664]
lea ecx, [ebp - 0x34]
push dword [0x44d660]
call fcn.0040811a
jmp 0x408f3e
push edi
call fcn.00409c40
cmp eax, 0xffffffff
je 0x40905d
test eax, eax
je 0x408fef
cmp eax, 1
jne 0x40906a
mov eax, dword [0x458ccc]
cmp eax, 2
je 0x408f3e
cmp byte [0x458cf4], 0
jne 0x408f3e
cmp byte [0x458cf3], 0
jne 0x408f3e
jmp 0x408ffd
mov eax, dword [0x458ccc]
cmp eax, 2
je 0x408f3e
test eax, eax
je 0x409006
cmp eax, 3
jne 0x40906a
movzx ecx, word [0x44c5a8]
movzx eax, word [0x44c5a6]
shl ecx, 0x10
add ecx, eax
mov dword [ebp + 8], ebx
push ecx
lea ecx, [ebp + 8]
mov dword [ebp + 0xc], ebx
call fcn.00407152
push ebx
lea eax, [ebp + 8]
push eax
push dword [0x43c514]
push dword [0x43c510]
push 0x800
push edi
push 0x451b98
call fcn.00407730
cmp eax, 6
je 0x408c91
cmp eax, 1
je 0x408f3e
jmp 0x40906a
cmp byte [0x458cf3], 0
jne 0x408f3e
mov eax, dword [0x43c538]
test byte [eax + 0x40], 1
je 0x4090ad
call fcn.0040d0f0
mov ecx, eax
test ecx, ecx
je 0x4090ad
cmp ecx, 9
je 0x4090cc
cmp ecx, 0xc
jne 0x409091
inc dword [ebp + 0x14]
push 6
jmp 0x40909b
cmp ecx, dword [ebp + 0x74]
jle 0x409099
mov dword [ebp + 0x74], ecx
push 0x1c
pop eax
push edi
push 0x45beb2
push eax
call fcn.00401654
jmp 0x408f3e
call fcn.00409297
mov edi, dword [ebp + 0x74]
test eax, eax
je 0x408f41
cmp eax, edi
jle 0x408f41
mov edi, eax
jmp 0x408854
push 2
lea ecx, [ebp - 0x18c]
call fcn.004016ab
lea ecx, [ebp - 0x18c]
call fcn.00407342
mov esi, dword [ebp + 0x74]
mov bl, 1
push 0x800
lea eax, [ebp - 0x349c]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00406a2f
test al, al
je 0x409188
mov edi, dword [ebp - 0x34]
add edi, 0x10
mov eax, dword [edi - 0x10]
mov ecx, dword [edi - 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [edi - 8]
mov ecx, dword [edi - 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp + 8], eax
mov eax, dword [0x459e70]
neg eax
mov dword [ebp + 0xc], ecx
lea ecx, [ebp + 8]
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x20]
push eax
mov eax, dword [0x459e6c]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x18]
push eax
mov eax, dword [0x459e68]
neg eax
sbb eax, eax
and eax, ecx
push eax
lea eax, [ebp - 0x349c]
push eax
call fcn.00402776
push 0x800
lea eax, [ebp - 0x349c]
push eax
lea ecx, [ebp - 0xe0]
lea edi, [edi + 0x18]
call fcn.00406a2f
test al, al
jne 0x40910e
call fcn.0040789c
test al, al
jne 0x4091b3
cmp dword [ebp + 0x18], 0
je 0x4091b3
cmp byte [0x44d7dc], al
jne 0x4091b3
push 0x45beb2
mov ecx, 0x451b1c
call fcn.004016e0
test esi, esi
jne 0x4091b3
inc esi
mov edi, dword [ebp + 0x4c]
inc edi
cmp dword [0x43c528], 0
jne 0x4091e8
push 0x49
pop eax
cmp word [0x45ae92], ax
je 0x4091e8
test bl, bl
jne 0x4091dc
push 0x45beb2
push 0x44
call fcn.00401625
push 0xa
mov ecx, 0x451b1c
call fcn.004018e5
test edi, edi
jne 0x409204
cmp esi, 1
jg 0x409204
mov eax, dword [ebp + 0x48]
xor cx, cx
cmp cx, ax
sbb esi, esi
and esi, 0x46
add esi, 0xb
jmp 0x409232
mov ecx, dword [ebp + 0x14]
movzx eax, cx
cmp edi, eax
jne 0x409217
cmp esi, 1
jg 0x409217
push 0x52
jmp 0x409225
cmp word [ebp + 0x48], 0
je 0x409228
cmp esi, 1
jg 0x409228
push 0x51
pop esi
jmp 0x409232
test cx, cx
je 0x409232
test esi, esi
jne 0x409232
inc esi
lea ecx, [ebp - 0xe0]
call fcn.004012c6
mov ebx, dword [ebp - 0x34]
mov byte [ebp - 4], 6
pop edi
test ebx, ebx
je 0x409263
cmp byte [ebp - 0x24], 0
je 0x40925c
mov eax, dword [ebp - 0x2c]
shl eax, 3
push eax
push ebx
call fcn.00405975
push ebx
call fcn.00417ffe
pop ecx
lea ecx, [ebp - 0x140]
call fcn.004012c6
lea ecx, [ebp - 0x80]
call fcn.00407e80
mov eax, dword [ebp + 0x58]
test eax, eax
je 0x409284
push eax
call fcn.00417ffe
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x78
leave
ret