Function at 0x4075d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca635
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x264
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [0xa9c558]
and eax, 1
jne 0x407621
mov eax, dword [0xa9c558]
or eax, 1
mov dword [0xa9c558], eax
mov ecx, 0xa9c510
call fcn.0040bd42
push 0x4cb566
call fcn.004b4d1d
pop ecx
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x3c], 0
jmp 0x407638
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x1d
je 0x407659
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x40764f
call fcn.004071b0
cmp dword [ebp - 0x3c], 0
je 0x407657
jmp 0x407631
jmp 0x407631
mov ecx, dword [ebp + 0xc]
call fcn.004066a0
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jae 0x4079c0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x224]
push eax
mov ecx, 0xa9c510
call fcn.0040bdd7
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x1e0]
push eax
mov ecx, 0xa9c510
call fcn.0040bde5
mov ecx, eax
call fcn.0040bdfa
movzx eax, al
test eax, eax
je 0x4079c0
mov dword [ebp - 0x34], 0x632667a8
mov dword [ebp - 0x1b4], 0xab9737e0
mov dword [ebp - 0x198], 0x95e2de4b
mov dword [ebp - 0x140], 4
push 1
lea ecx, [ebp - 0x150]
call fcn.0040bc2e
mov dword [ebp - 0xc8], 2
mov dword [ebp - 0xac], 0x36ca9a47
mov dword [ebp - 0x160], 0xfffa
mov dword [ebp - 0x14], 0
jmp 0x407713
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x407729
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x248], 0xfffffffe
jmp 0x40770c
mov dword [ebp - 0x14], 0
jmp 0x407739
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x407755
push dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
call fcn.0040bd1c
mov dword [eax], 0xfffffffd
jmp 0x407732
mov dword [ebp - 0x14], 0
jmp 0x407765
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x40777b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1ac], 0x380d42f5
jmp 0x40775e
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1ac]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x220], eax
push 0
lea ecx, [ebp - 0x150]
call fcn.0040bd1c
mov esi, eax
push 0
lea ecx, [ebp - 0x150]
call fcn.0040bd1c
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x4077f3
mov dword [ebp - 0x138], 1
jmp 0x4077fa
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x1b4]
cmp dword [ebp - 0x138], eax
jge 0x407814
mov dword [ebp - 0x144], 1
jmp 0x40781b
and dword [ebp - 0x144], 0
imul eax, dword [ebp - 0x144], 0x34ef
sub eax, dword [ebp - 0x34]
jne 0x40783c
cmp dword [ebp - 0x198], 0
jne 0x40783c
and dword [ebp - 0x15c], 0
jmp 0x407846
mov dword [ebp - 0x15c], 1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1e4], eax
push 0
lea ecx, [ebp - 0x150]
call fcn.0040bd1c
cmp dword [eax], 0
je 0x407872
xor eax, eax
inc eax
je 0x407872
mov dword [ebp - 0x8c], 1
jmp 0x407879
and dword [ebp - 0x8c], 0
push 0
lea ecx, [ebp - 0x150]
call fcn.0040bd1c
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [eax]
jge 0x40789f
cmp dword [ebp - 0x34], 0
jne 0x40789f
and dword [ebp - 0xec], 0
jmp 0x4078a9
mov dword [ebp - 0xec], 1
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xec]
sub ecx, dword [ebp + eax - 0x248]
cmp ecx, 0xa53d1edb
ja 0x4078cf
mov dword [ebp - 0x94], 1
jmp 0x4078d6
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x94]
jne 0x4078f3
mov eax, 0x30fb
test eax, eax
jne 0x4078f3
and dword [ebp - 0x11c], 0
jmp 0x4078fd
mov dword [ebp - 0x11c], 1
cmp dword [ebp - 0x11c], 0x18003dbe
jl 0x407915
mov dword [ebp - 0x9c], 1
jmp 0x40791c
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 1
jbe 0x407931
mov dword [ebp - 0xf4], 1
jmp 0x407938
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0xf4], eax
jg 0x407952
mov dword [ebp - 0xa4], 1
jmp 0x407959
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
inc eax
jne 0x407974
cmp dword [ebp - 0x160], 0
jne 0x407974
and dword [ebp - 0x134], 0
jmp 0x40797e
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0x150]
call fcn.0040bd00
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b0]
push eax
mov ecx, 0xa9c510
call fcn.0040bd74
push eax
mov ecx, dword [ebp + 8]
call fcn.0040bb0b
mov eax, dword [ebp + 8]
jmp 0x408401
mov dword [ebp - 0x38], 0x324ec2e0
mov dword [ebp - 0x17c], 0xffffffff
mov dword [ebp - 0x184], 0x5761ac7e
mov dword [ebp - 0x194], 0xa258
mov dword [ebp - 0x1a8], 0xd8e65dd4
mov dword [ebp - 0x174], 1
mov dword [ebp - 0x38], 0x15
jmp 0x407a09
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jl 0x407a22
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x407a20
call fcn.004071bd
jmp 0x407a02
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.004071d6
add esp, 0x18
lea eax, [ebp - 0x274]
push eax
call fcn.00401a27
pop ecx
mov esi, eax
lea edi, [ebp - 0x260]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x260]
lea edi, [ebp - 0x254]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], 0x324ec2e0
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x48], 0x5761ac7e
mov dword [ebp - 0x64], 0xa258
mov dword [ebp - 0xc4], 0xd8e65dd4
mov dword [ebp - 0x13c], 1
mov dword [ebp - 0x18], 0x15
jmp 0x407ab8
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jl 0x407ad1
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x407acf
call fcn.004071bd
jmp 0x407ab1
mov dword [ebp - 0xdc], 0x1622
mov dword [ebp - 0x18c], str.tvvxczrz_ettfi_boisgk_evhi_yxp_rdzq_fted_gxgmns
cmp dword [ebp - 0xdc], 0x171e
jle 0x407b78
push 0x160
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
and dword [ebp - 0x50], 0
jmp 0x407b0f
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x6982
jge 0x407b78
and dword [ebp - 0x4c], 0
jmp 0x407b25
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x29cf
jge 0x407b76
and dword [ebp - 0x54], 0
jmp 0x407b3b
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x7f59
jge 0x407b74
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
shl eax, cl
cdq
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], edx
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
mov ecx, 0xa9b358
call fcn.0040b8d9
jmp 0x407b34
jmp 0x407b1e
jmp 0x407b08
mov dword [ebp - 0x18], 6
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x407c6d
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jg 0x407ba6
mov dword [ebp - 0xfc], 1
jmp 0x407bad
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0xa0c0e075
ja 0x407bc5
mov dword [ebp - 0xb4], 1
jmp 0x407bcc
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x18], eax
jl 0x407be9
mov dword [ebp - 0x124], 1
jmp 0x407bf0
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x48]
sub eax, 0x6728
sub eax, dword [ebp - 0x48]
cmp eax, 5
jge 0x407c18
mov dword [ebp - 0xbc], 1
jmp 0x407c1f
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x21c], eax
push 0xfffffffffffffffb
pop eax
cmp eax, 1
jle 0x407c4e
mov dword [ebp - 0x19c], 1
jmp 0x407c55
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x18], 2
jbe 0x407c6d
and dword [ebp - 0x104], 0
jmp 0x407c77
mov dword [ebp - 0x104], 1
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x407ca1
cmp dword [ebp - 0x13c], 0
je 0x407ca1
mov dword [ebp - 0xcc], 1
jmp 0x407ca8
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x13c]
cmp dword [ebp - 0xcc], eax
jg 0x407cc2
mov dword [ebp - 0x10c], 1
jmp 0x407cc9
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
neg eax
add eax, 4
je 0x407ce9
push 6
pop eax
test eax, eax
je 0x407ce9
mov dword [ebp - 0xd4], 1
jmp 0x407cf0
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0
je 0x407d0b
cmp dword [ebp - 0x28], 0
je 0x407d0b
mov dword [ebp - 0x12c], 1
jmp 0x407d12
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x48], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0xdc], 0x12c5
jge 0x407d3b
mov edx, dword [ebp - 0x18c]
mov ecx, 0xa9b358
call fcn.0040e54d
jmp 0x407d57
or dword [ebp - 4], 0xffffffff
jmp 0x407d61
mov ecx, dword [ebp + 0xc]
call fcn.004066db
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x1d8], 0x606d
mov dword [ebp - 0x1d4], 0x606d
mov dword [ebp - 0x1d0], 0x606d
mov dword [ebp - 0x1cc], 0x606d
lea ecx, [ebp - 0x75]
call fcn.0040bd2b
push eax
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040bd2e
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x60]
call fcn.0040bcda
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x6c], 0x7c2
mov dword [ebp - 0xb0], 0xffffffff
mov dword [ebp - 0xc0], 0xda5659cd
mov dword [ebp - 0x74], 0xfc53d8b3
mov dword [ebp - 0x180], 5
mov dword [ebp - 0x40], 0
jmp 0x407e0c
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jge 0x407e22
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x1c4], 0xea983111
jmp 0x407e05
push 3
lea ecx, [ebp - 0x60]
call fcn.0040bd1c
push 4
pop ecx
imul ecx, ecx, 3
mov eax, dword [eax]
mov dword [ebp + ecx - 0x1c4], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1c4], 0
jne 0x407e63
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x1c4], 0
jne 0x407e63
and dword [ebp - 0x114], 0
jmp 0x407e6d
mov dword [ebp - 0x114], 1
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x1c4]
cmp dword [ebp - 0x114], eax
jge 0x407e8e
mov dword [ebp - 0x158], 1
jmp 0x407e95
and dword [ebp - 0x158], 0
push 3
lea ecx, [ebp - 0x60]
call fcn.0040bd1c
push 3
lea ecx, [ebp - 0x60]
call fcn.0040bd1c
mov esi, eax
push 3
lea ecx, [ebp - 0x60]
call fcn.0040bd1c
mov ecx, dword [esi]
imul ecx, dword [eax]
cmp ecx, 5
jl 0x407ecb
mov dword [ebp - 0xe4], 1
jmp 0x407ed2
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0xa191
jg 0x407eea
mov dword [ebp - 0x84], 1
jmp 0x407ef1
and dword [ebp - 0x84], 0
push 3
lea ecx, [ebp - 0x60]
call fcn.0040bd1c
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [eax]
jg 0x407f1d
push 3
lea ecx, [ebp - 0x60]
call fcn.0040bd1c
cmp dword [eax], 0
jne 0x407f1d
and dword [ebp - 0x88], 0
jmp 0x407f27
mov dword [ebp - 0x88], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c4]
cmp eax, dword [ebp - 0x88]
je 0x407f48
mov dword [ebp - 0x90], 1
jmp 0x407f4f
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0x8f8f
jg 0x407f67
mov dword [ebp - 0x98], 1
jmp 0x407f6e
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x178]
jge 0x407fa4
mov dword [ebp - 0xa0], 1
jmp 0x407fab
and dword [ebp - 0xa0], 0
push 0
lea ecx, [ebp - 0x60]
call fcn.0040bd1c
mov ecx, dword [ebp - 0xa0]
imul ecx, dword [eax]
mov dword [ebp - 0xa8], ecx
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0xa8]
mov dword [ebp + eax - 0x1c4], ecx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0xfffffff9
jne 0x407ff8
mov dword [ebp - 0xb8], 1
jmp 0x407fff
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x40801e
push 2
lea ecx, [ebp - 0x60]
call fcn.0040bd1c
push 2
lea ecx, [ebp - 0x60]
call fcn.0040bd1c
cmp dword [eax], 0
jne 0x408039
cmp dword [ebp - 0x74], 0
jne 0x408039
and dword [ebp - 0x7c], 0
jmp 0x408040
mov dword [ebp - 0x7c], 1
push 1
lea ecx, [ebp - 0x60]
call fcn.0040bd1c
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [eax]
jge 0x40805d
mov dword [ebp - 0xd0], 1
jmp 0x408064
and dword [ebp - 0xd0], 0
push 3
lea ecx, [ebp - 0x60]
call fcn.0040bd1c
mov ecx, dword [ebp - 0xd0]
cmp ecx, dword [eax]
jge 0x408084
mov dword [ebp - 0xd8], 1
jmp 0x40808b
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x180], eax
lea ecx, [ebp - 0x60]
call fcn.0040bd00
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x188]
push dword [ebp - 0x70]
lea eax, [ebp - 0x23c]
push eax
call fcn.00406885
add esp, 0x10
mov dword [ebp - 0x1c], 0x324ec2e0
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x44], 0x5761ac7e
mov dword [ebp - 0x68], 0xa258
mov dword [ebp - 0x108], 0xd8e65dd4
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x1c], 0x15
jmp 0x408104
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jl 0x40811a
mov byte [ebp - 0x2d], 0
lea eax, [ebp - 0x2d]
push eax
call fcn.0040748f
pop ecx
jmp 0x4080fd
mov dword [ebp - 0x1c], 6
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40820f
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jg 0x408148
mov dword [ebp - 0xe0], 1
jmp 0x40814f
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0xa0c0e075
ja 0x408167
mov dword [ebp - 0xe8], 1
jmp 0x40816e
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1c], eax
jl 0x40818b
mov dword [ebp - 0xf0], 1
jmp 0x408192
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x44]
sub eax, 0x6728
sub eax, dword [ebp - 0x44]
cmp eax, 5
jge 0x4081ba
mov dword [ebp - 0xf8], 1
jmp 0x4081c1
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x210], eax
push 0xfffffffffffffffb
pop eax
cmp eax, 1
jle 0x4081f0
mov dword [ebp - 0x190], 1
jmp 0x4081f7
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x1c], 2
jbe 0x40820f
and dword [ebp - 0x100], 0
jmp 0x408219
mov dword [ebp - 0x100], 1
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x408243
cmp dword [ebp - 0x110], 0
je 0x408243
mov dword [ebp - 0x118], 1
jmp 0x40824a
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x110]
cmp dword [ebp - 0x118], eax
jg 0x408264
mov dword [ebp - 0x120], 1
jmp 0x40826b
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
neg eax
add eax, 4
je 0x40828b
push 6
pop eax
test eax, eax
je 0x40828b
mov dword [ebp - 0x128], 1
jmp 0x408292
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0
je 0x4082ad
cmp dword [ebp - 0x24], 0
je 0x4082ad
mov dword [ebp - 0x130], 1
jmp 0x4082b4
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x44], eax
push 0
lea eax, [ebp - 0x70]
push eax
push 0x22ad
push 0xa9c510
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x5c1c
call fcn.004097b2
add esp, 0x1c
push 3
lea ecx, [ebp - 0x20c]
call fcn.0040bc2e
push 2
lea ecx, [ebp - 0x16c]
call fcn.0040bc2e
mov dword [ebp - 0x214], 2
mov dword [ebp - 0x20], 0
jmp 0x408319
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x408335
push dword [ebp - 0x20]
lea ecx, [ebp - 0x20c]
call fcn.0040bd1c
mov dword [eax], 0xae9714a
jmp 0x408312
mov dword [ebp - 0x20], 0
jmp 0x408345
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x408361
push dword [ebp - 0x20]
lea ecx, [ebp - 0x16c]
call fcn.0040bd1c
mov dword [eax], 0xfffffffc
jmp 0x40833e
mov byte [ebp - 0x2a], 0
lea eax, [ebp - 0x2a]
push eax
call fcn.004074bb
pop ecx
push 1
lea ecx, [ebp - 0x16c]
call fcn.0040bd1c
and dword [eax], 0
jmp 0x40839c
push 1
lea ecx, [ebp - 0x16c]
call fcn.0040bd1c
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x16c]
call fcn.0040bd1c
cmp dword [eax], 2
jg 0x4083ce
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x4083cc
push 0x21b8
push 0x92f
push 0
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x408381
lea ecx, [ebp - 0x16c]
call fcn.0040bd00
lea ecx, [ebp - 0x20c]
call fcn.0040bd00
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040bb42
lea ecx, [ebp - 0x23c]
call fcn.0040bb9b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret