Function at 0x41823c
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov ecx, 3
lea edi, [ebp - 0x30]
mov dword [edi], 1
mov dword [edi + 4], 9
add edi, 0x10
dec ecx
jne 0x41824a
mov ecx, 1
lea esi, [ebp + 8]
call fcn.00414141
push 0xa
push 0x22b
push dword [0x4010ea]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push dword [0x4010ea]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, 0
je 0x4182dd
mov ebx, dword [eax]
mov dword [0x4113b0], ebx
mov ecx, dword [eax + 4]
mov dword [0x4113a0], ecx
cmp ecx, 0x3b9aca00
jb 0x4182ad
mov ecx, 1
lea esi, [eax + 8]
push esi
lea esi, [0x4113b8]
call fcn.004179fe
mov eax, dword [esi + 8]
mov edi, dword [0x40176d]
mov edi, dword [edi + eax*8]
add edi, dword [0x401771]
pop esi
mov eax, ecx
shr ecx, 2
and eax, 3
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
push 0xa
push 0x22c
push dword [0x4010ea]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push dword [0x4010ea]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, 0
je 0x418350
mov ebx, dword [eax]
mov dword [0x4113e0], ebx
mov ecx, dword [eax + 4]
mov dword [0x4113d0], ecx
cmp ecx, 0x3b9aca00
jb 0x418320
mov ecx, 1
lea esi, [eax + 8]
push esi
lea esi, [0x4113e8]
call fcn.004179fe
mov eax, dword [esi + 8]
mov edi, dword [0x40176d]
mov edi, dword [edi + eax*8]
add edi, dword [0x401771]
pop esi
mov eax, ecx
shr ecx, 2
and eax, 3
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4113b8
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov ebx, dword [0x401799]
lea eax, [ebx + 0x404dc0]
cmp dword [eax + 4], 3
je 0x4183a6
cmp dword [eax], 2
jne 0x418390
mov esi, eax
call fcn.0041392c
mov dword [eax], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 0
jmp 0x4183ff
mov eax, 1
mov ebx, dword [0x401799]
lea esi, [ebx + 0x404dd4]
mov ebx, dword [eax*4 + 0x4019d9]
neg ebx
push ebx
lea ecx, [esi + ebx]
push ecx
add ebx, 0x14
dec eax
jne 0x4183c1
call fcn.0041501e
pop eax
mov ebx, dword [0x401799]
lea esi, [ebx + 0x404dd4]
sub esi, 0x14
lea edi, [esi + eax]
mov edx, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
cmp dword [edx], 0
je 0x4183f7
mov dword [edx], 2
add ebx, eax
mov dword [0x401799], ebx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4113a8
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.004135e4
mov ecx, 1
sub ecx, dword [eax + 8]
mov dword [eax + 8], ecx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4113e8
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov ebx, dword [0x401799]
lea eax, [ebx + 0x404dc0]
cmp dword [eax + 4], 3
je 0x418487
cmp dword [eax], 2
jne 0x418471
mov esi, eax
call fcn.0041392c
mov dword [eax], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 0
jmp 0x4184e0
mov eax, 1
mov ebx, dword [0x401799]
lea esi, [ebx + 0x404dd4]
mov ebx, dword [eax*4 + 0x4019d9]
neg ebx
push ebx
lea ecx, [esi + ebx]
push ecx
add ebx, 0x14
dec eax
jne 0x4184a2
call fcn.0041501e
pop eax
mov ebx, dword [0x401799]
lea esi, [ebx + 0x404dd4]
sub esi, 0x14
lea edi, [esi + eax]
mov edx, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
cmp dword [edx], 0
je 0x4184d8
mov dword [edx], 2
add ebx, eax
mov dword [0x401799], ebx
mov ebx, dword [0x401799]
lea edi, [ebx + 0x404dd4]
mov eax, 0x4113d8
mov esi, eax
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 dword [edi], eax
add ebx, 0x14
mov dword [0x401799], ebx
call fcn.004135e4
mov ecx, 1
sub ecx, dword [eax + 8]
mov dword [eax + 8], ecx
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
push eax
push ebx
mov ecx, dword [ebx + 4]
lea esi, [ebx + 8]
mov eax, dword [esi]
cmp ecx, 0
je 0x418584
cmp ecx, 1
jne 0x41854c
test eax, eax
je 0x418584
mov eax, 1
jmp 0x418584
cmp ecx, 2
jne 0x418566
fld qword [esi]
wait
ftst
wait
fnstsw ax
fstp st(0)
sahf
mov eax, 0
je 0x418584
inc eax
jmp 0x418584
cmp ecx, 3
jne 0x418576
xor eax, eax
cmp dword [ebx + 0xc], 0
je 0x418584
inc eax
jmp 0x418584
cmp ecx, 4
jne 0x418582
mov eax, 1
jmp 0x418584
xor eax, eax
mov ecx, eax
mov ebx, dword [esp + 4]
push ecx
mov ecx, dword [ebx + 4]
lea esi, [ebx + 8]
mov eax, dword [esi]
cmp ecx, 0
je 0x4185e0
cmp ecx, 1
jne 0x4185a8
test eax, eax
je 0x4185e0
mov eax, 1
jmp 0x4185e0
cmp ecx, 2
jne 0x4185c2
fld qword [esi]
wait
ftst
wait
fnstsw ax
fstp st(0)
sahf
mov eax, 0
je 0x4185e0
inc eax
jmp 0x4185e0
cmp ecx, 3
jne 0x4185d2
xor eax, eax
cmp dword [ebx + 0xc], 0
je 0x4185e0
inc eax
jmp 0x4185e0
cmp ecx, 4
jne 0x4185de
mov eax, 1
jmp 0x4185e0
xor eax, eax
pop ecx
mov edx, eax
pop ebx
pop eax
or ecx, edx
mov dword [eax + 8], ecx
cmp byte [eax], 2
jne 0x4185f6
mov esi, eax
call fcn.0041392c
cmp byte [ebx], 2
jne 0x418602
mov esi, ebx
call fcn.0041392c
mov dword [eax + 4], 0
mov esi, dword [0x401799]
sub esi, 0x14
lea eax, [esi + 0x404dd4]
mov dword [0x401799], esi
push eax
mov ebx, eax
mov ecx, dword [ebx + 4]
lea esi, [ebx + 8]
mov eax, dword [esi]
cmp ecx, 0
je 0x418676
cmp ecx, 1
jne 0x41863e
test eax, eax
je 0x418676
mov eax, 1
jmp 0x418676
cmp ecx, 2
jne 0x418658
fld qword [esi]
wait
ftst
wait
fnstsw ax
fstp st(0)
sahf
mov eax, 0
je 0x418676
inc eax
jmp 0x418676
cmp ecx, 3
jne 0x418668
xor eax, eax
cmp dword [ebx + 0xc], 0
je 0x418676
inc eax
jmp 0x418676
cmp ecx, 4
jne 0x418674
mov eax, 1
jmp 0x418676
xor eax, eax
mov ecx, eax
pop eax
push ecx
cmp byte [eax], 2
jne 0x418686
mov esi, eax
call fcn.0041392c
pop ecx
test ecx, ecx
je 0x418906
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4038d7
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4113f8
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x403ae9
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x411378
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
cmp byte [eax + 4], 3
je 0x41874b
cmp byte [ebx + 4], 3
jne 0x418761
push eax
push ebx
mov ebx, eax
call fcn.00413982
pop ebx
pop eax
jmp 0x41875a
cmp byte [ebx + 4], 3
je 0x41875a
push eax
push ebx
call fcn.00413982
pop ebx
pop eax
call fcn.004137ee
jmp 0x418766
call fcn.004141f3
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x403b3d
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
cmp byte [eax + 4], 3
je 0x4187bc
cmp byte [ebx + 4], 3
jne 0x4187d2
push eax
push ebx
mov ebx, eax
call fcn.00413982
pop ebx
pop eax
jmp 0x4187cb
cmp byte [ebx + 4], 3
je 0x4187cb
push eax
push ebx
call fcn.00413982
pop ebx
pop eax
call fcn.004137ee
jmp 0x4187d7
call fcn.004141f3
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x411378
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
cmp byte [eax + 4], 3
je 0x41882d
cmp byte [ebx + 4], 3
jne 0x418843
push eax
push ebx
mov ebx, eax
call fcn.00413982
pop ebx
pop eax
jmp 0x41883c
cmp byte [ebx + 4], 3
je 0x41883c
push eax
push ebx
call fcn.00413982
pop ebx
pop eax
call fcn.004137ee
jmp 0x418848
call fcn.004141f3
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x403b8a
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
cmp byte [eax + 4], 3
je 0x41889e
cmp byte [ebx + 4], 3
jne 0x4188b4
push eax
push ebx
mov ebx, eax
call fcn.00413982
pop ebx
pop eax
jmp 0x4188ad
cmp byte [ebx + 4], 3
je 0x4188ad
push eax
push ebx
call fcn.00413982
pop ebx
pop eax
call fcn.004137ee
jmp 0x4188b9
call fcn.004141f3
call fcn.004128b5
sub dword [0x401799], 0x14
mov esi, dword [0x401799]
lea ebx, [esi + 0x404dd4]
mov esi, ebx
cmp byte [esi], 2
jne 0x418901
mov ebx, dword [esi + 4]
cmp ebx, 3
jne 0x4188f4
mov eax, dword [esi + 8]
mov ecx, eax
mov eax, dword [0x40176d]
or dword [eax + ecx*8 + 4], 0x80000000
jmp 0x418901
cmp ebx, 4
jne 0x418901
mov eax, dword [esi + 8]
call fcn.00414638
jmp 0x41cbe7
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, dword [ebp + 8]
mov eax, esi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x403829
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.00413e3a
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
cmp byte [eax + 4], 3
je 0x418984
cmp byte [ebx + 4], 3
jne 0x41899a
push eax
push ebx
mov ebx, eax
call fcn.00413982
pop ebx
pop eax
jmp 0x418993
cmp byte [ebx + 4], 3
je 0x418993
push eax
push ebx
call fcn.00413982
pop ebx
pop eax
call fcn.004137ee
jmp 0x41899f
call fcn.004141f3
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x403ba8
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
cmp byte [eax + 4], 3
je 0x4189f5
cmp byte [ebx + 4], 3
jne 0x418a0b
push eax
push ebx
mov ebx, eax
call fcn.00413982
pop ebx
pop eax
jmp 0x418a04
cmp byte [ebx + 4], 3
je 0x418a04
push eax
push ebx
call fcn.00413982
pop ebx
pop eax
call fcn.004137ee
jmp 0x418a10
call fcn.004141f3
lea esi, [ebp - 0x30]
call fcn.00413a56
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4113b8
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x30]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.004143a3
sub dword [0x401799], 0x14
mov esi, dword [0x401799]
lea ebx, [esi + 0x404dd4]
mov esi, ebx
cmp byte [esi], 2
jne 0x418aa2
mov ebx, dword [esi + 4]
cmp ebx, 3
jne 0x418a95
mov eax, dword [esi + 8]
mov ecx, eax
mov eax, dword [0x40176d]
or dword [eax + ecx*8 + 4], 0x80000000
jmp 0x418aa2
cmp ebx, 4
jne 0x418aa2
mov eax, dword [esi + 8]
call fcn.00414638
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x30]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov eax, 1
mov ebx, dword [0x401799]
lea esi, [ebx + 0x404dd4]
mov ebx, dword [eax*4 + 0x4019d9]
neg ebx
push ebx
lea ecx, [esi + ebx]
push ecx
add ebx, 0x14
dec eax
jne 0x418add
call fcn.00417a45
pop eax
mov ebx, dword [0x401799]
lea esi, [ebx + 0x404dd4]
sub esi, 0x14
lea edi, [esi + eax]
mov edx, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
cmp dword [edx], 0
je 0x418b13
mov dword [edx], 2
add ebx, eax
mov dword [0x401799], ebx
lea esi, [ebp - 0x20]
call fcn.00413a56
mov ebx, dword [0x401799]
lea edi, [ebx + 0x404dd4]
mov eax, 0x411318
mov esi, eax
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 dword [edi], eax
add ebx, 0x14
mov dword [0x401799], ebx
lea esi, [ebp - 0x10]
call fcn.00413a56
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x20]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4037b5
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.004135e4
mov ecx, 1
sub ecx, dword [eax + 8]
mov dword [eax + 8], ecx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x10]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.0041448a
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4038c7
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.004135e4
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
push eax
push ebx
mov ecx, dword [ebx + 4]
lea esi, [ebx + 8]
mov eax, dword [esi]
cmp ecx, 0
je 0x418c5d
cmp ecx, 1
jne 0x418c25
test eax, eax
je 0x418c5d
mov eax, 1
jmp 0x418c5d
cmp ecx, 2
jne 0x418c3f
fld qword [esi]
wait
ftst
wait
fnstsw ax
fstp st(0)
sahf
mov eax, 0
je 0x418c5d
inc eax
jmp 0x418c5d
cmp ecx, 3
jne 0x418c4f
xor eax, eax
cmp dword [ebx + 0xc], 0
je 0x418c5d
inc eax
jmp 0x418c5d
cmp ecx, 4
jne 0x418c5b
mov eax, 1
jmp 0x418c5d
xor eax, eax
mov ecx, eax
mov ebx, dword [esp + 4]
push ecx
mov ecx, dword [ebx + 4]
lea esi, [ebx + 8]
mov eax, dword [esi]
cmp ecx, 0
je 0x418cb9
cmp ecx, 1
jne 0x418c81
test eax, eax
je 0x418cb9
mov eax, 1
jmp 0x418cb9
cmp ecx, 2
jne 0x418c9b
fld qword [esi]
wait
ftst
wait
fnstsw ax
fstp st(0)
sahf
mov eax, 0
je 0x418cb9
inc eax
jmp 0x418cb9
cmp ecx, 3
jne 0x418cab
xor eax, eax
cmp dword [ebx + 0xc], 0
je 0x418cb9
inc eax
jmp 0x418cb9
cmp ecx, 4
jne 0x418cb7
mov eax, 1
jmp 0x418cb9
xor eax, eax
pop ecx
mov edx, eax
pop ebx
pop eax
or ecx, edx
mov dword [eax + 8], ecx
cmp byte [eax], 2
jne 0x418ccf
mov esi, eax
call fcn.0041392c
cmp byte [ebx], 2
jne 0x418cdb
mov esi, ebx
call fcn.0041392c
mov dword [eax + 4], 0
mov esi, dword [0x401799]
sub esi, 0x14
lea eax, [esi + 0x404dd4]
mov dword [0x401799], esi
push eax
mov ebx, eax
mov ecx, dword [ebx + 4]
lea esi, [ebx + 8]
mov eax, dword [esi]
cmp ecx, 0
je 0x418d4f
cmp ecx, 1
jne 0x418d17
test eax, eax
je 0x418d4f
mov eax, 1
jmp 0x418d4f
cmp ecx, 2
jne 0x418d31
fld qword [esi]
wait
ftst
wait
fnstsw ax
fstp st(0)
sahf
mov eax, 0
je 0x418d4f
inc eax
jmp 0x418d4f
cmp ecx, 3
jne 0x418d41
xor eax, eax
cmp dword [ebx + 0xc], 0
je 0x418d4f
inc eax
jmp 0x418d4f
cmp ecx, 4
jne 0x418d4d
mov eax, 1
jmp 0x418d4f
xor eax, eax
mov ecx, eax
pop eax
push ecx
cmp byte [eax], 2
jne 0x418d5f
mov esi, eax
call fcn.0041392c
pop ecx
test ecx, ecx
je 0x418f4f
mov ebx, dword [0x401799]
lea edi, [ebx + 0x404dd4]
mov eax, 0x4038d7
mov esi, eax
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 dword [edi], eax
add ebx, 0x14
mov dword [0x401799], ebx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4113f8
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov ebx, dword [0x401799]
lea edi, [ebx + 0x404dd4]
mov eax, 0x403c13
mov esi, eax
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 dword [edi], eax
add ebx, 0x14
mov dword [0x401799], ebx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x20]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
cmp byte [eax + 4], 3
je 0x418e22
cmp byte [ebx + 4], 3
jne 0x418e38
push eax
push ebx
mov ebx, eax
call fcn.00413982
pop ebx
pop eax
jmp 0x418e31
cmp byte [ebx + 4], 3
je 0x418e31
push eax
push ebx
call fcn.00413982
pop ebx
pop eax
call fcn.004137ee
jmp 0x418e3d
call fcn.004141f3
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x403c25
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
cmp byte [eax + 4], 3
je 0x418e93
cmp byte [ebx + 4], 3
jne 0x418ea9
push eax
push ebx
mov ebx, eax
call fcn.00413982
pop ebx
pop eax
jmp 0x418ea2
cmp byte [ebx + 4], 3
je 0x418ea2
push eax
push ebx
call fcn.00413982
pop ebx
pop eax
call fcn.004137ee
jmp 0x418eae
call fcn.004141f3
call fcn.004129c9
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
cmp byte [eax + 4], 3
je 0x418ee7
cmp byte [ebx + 4], 3
jne 0x418efd
push eax
push ebx
mov ebx, eax
call fcn.00413982
pop ebx
pop eax
jmp 0x418ef6
cmp byte [ebx + 4], 3
je 0x418ef6
push eax
push ebx
call fcn.00413982
pop ebx
pop eax
call fcn.004137ee
jmp 0x418f02
call fcn.004141f3
call fcn.004128b5
sub dword [0x401799], 0x14
mov esi, dword [0x401799]
lea ebx, [esi + 0x404dd4]
mov esi, ebx
cmp byte [esi], 2
jne 0x418f4a
mov ebx, dword [esi + 4]
cmp ebx, 3
jne 0x418f3d
mov eax, dword [esi + 8]
mov ecx, eax
mov eax, dword [0x40176d]
or dword [eax + ecx*8 + 4], 0x80000000
jmp 0x418f4a
cmp ebx, 4
jne 0x418f4a
mov eax, dword [esi + 8]
call fcn.00414638
jmp 0x41cbe7
mov ebx, dword [0x401799]
lea edi, [ebx + 0x404dd4]
mov eax, 0x4037b5
mov esi, eax
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 dword [edi], eax
add ebx, 0x14
mov dword [0x401799], ebx
mov esi, 0x4113b8
call fcn.00413a56
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x10]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.004142c8
mov esi, 0x4113b8
call fcn.00413a56
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x30]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.00414504
sub dword [0x401799], 0x14
mov esi, dword [0x401799]
lea ebx, [esi + 0x404dd4]
mov esi, ebx
cmp byte [esi], 2
jne 0x419012
mov ebx, dword [esi + 4]
cmp ebx, 3
jne 0x419005
mov eax, dword [esi + 8]
mov ecx, eax
mov eax, dword [0x40176d]
or dword [eax + ecx*8 + 4], 0x80000000
jmp 0x419012
cmp ebx, 4
jne 0x419012
mov eax, dword [esi + 8]
call fcn.00414638
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x10]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.00414504
sub dword [0x401799], 0x14
mov esi, dword [0x401799]
lea ebx, [esi + 0x404dd4]
mov esi, ebx
cmp byte [esi], 2
jne 0x41907a
mov ebx, dword [esi + 4]
cmp ebx, 3
jne 0x41906d
mov eax, dword [esi + 8]
mov ecx, eax
mov eax, dword [0x40176d]
or dword [eax + ecx*8 + 4], 0x80000000
jmp 0x41907a
cmp ebx, 4
jne 0x41907a
mov eax, dword [esi + 8]
call fcn.00414638
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, dword [ebp + 8]
mov eax, esi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov ebx, dword [0x401799]
lea edi, [ebx + 0x404dd4]
mov eax, 0x403829
mov esi, eax
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 dword [edi], eax
add ebx, 0x14
mov dword [0x401799], ebx
call fcn.00413e3a
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
cmp byte [eax + 4], 3
je 0x4190f8
cmp byte [ebx + 4], 3
jne 0x41910e
push eax
push ebx
mov ebx, eax
call fcn.00413982
pop ebx
pop eax
jmp 0x419107
cmp byte [ebx + 4], 3
je 0x419107
push eax
push ebx
call fcn.00413982
pop ebx
pop eax
call fcn.004137ee
jmp 0x419113
call fcn.004141f3
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x403c43
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
cmp byte [eax + 4], 3
je 0x419169
cmp byte [ebx + 4], 3
jne 0x41917f
push eax
push ebx
mov ebx, eax
call fcn.00413982
pop ebx
pop eax
jmp 0x419178
cmp byte [ebx + 4], 3
je 0x419178
push eax
push ebx
call fcn.00413982
pop ebx
pop eax
call fcn.004137ee
jmp 0x419184
call fcn.004141f3
lea esi, [ebp - 0x30]
call fcn.00413a56
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4113e8
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x30]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.004143a3
sub dword [0x401799], 0x14
mov esi, dword [0x401799]
lea ebx, [esi + 0x404dd4]
mov esi, ebx
cmp byte [esi], 2
jne 0x419216
mov ebx, dword [esi + 4]
cmp ebx, 3
jne 0x419209
mov eax, dword [esi + 8]
mov ecx, eax
mov eax, dword [0x40176d]
or dword [eax + ecx*8 + 4], 0x80000000
jmp 0x419216
cmp ebx, 4
jne 0x419216
mov eax, dword [esi + 8]
call fcn.00414638
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x30]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov eax, 1
mov ebx, dword [0x401799]
lea esi, [ebx + 0x404dd4]
mov ebx, dword [eax*4 + 0x4019d9]
neg ebx
push ebx
lea ecx, [esi + ebx]
push ecx
add ebx, 0x14
dec eax
jne 0x419251
call fcn.00417a45
pop eax
mov ebx, dword [0x401799]
lea esi, [ebx + 0x404dd4]
sub esi, 0x14
lea edi, [esi + eax]
mov edx, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
cmp dword [edx], 0
je 0x419287
mov dword [edx], 2
add ebx, eax
mov dword [0x401799], ebx
lea esi, [ebp - 0x20]
call fcn.00413a56
mov ebx, dword [0x401799]
lea edi, [ebx + 0x404dd4]
mov eax, 0x411318
mov esi, eax
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 dword [edi], eax
add ebx, 0x14
mov dword [0x401799], ebx
lea esi, [ebp - 0x10]
call fcn.00413a56
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x20]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4037b5
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.004135e4
mov ecx, 1
sub ecx, dword [eax + 8]
mov dword [eax + 8], ecx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x10]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.0041448a
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4038c7
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.004135e4
mov esi, dword [0x401799]
sub esi, 0x28
lea eax, [esi + 0x404dd4]
lea ebx, [eax + 0x14]
add esi, 0x14
mov dword [0x401799], esi
push eax
push ebx
mov ecx, dword [ebx + 4]
lea esi, [ebx + 8]
mov eax, dword [esi]
cmp ecx, 0
je 0x4193d1
cmp ecx, 1
jne 0x419399
test eax, eax
je 0x4193d1
mov eax, 1
jmp 0x4193d1
cmp ecx, 2
jne 0x4193b3
fld qword [esi]
wait
ftst
wait
fnstsw ax
fstp st(0)
sahf
mov eax, 0
je 0x4193d1
inc eax
jmp 0x4193d1
cmp ecx, 3
jne 0x4193c3
xor eax, eax
cmp dword [ebx + 0xc], 0
je 0x4193d1
inc eax
jmp 0x4193d1
cmp ecx, 4
jne 0x4193cf
mov eax, 1
jmp 0x4193d1
xor eax, eax
mov ecx, eax
mov ebx, dword [esp + 4]
push ecx
mov ecx, dword [ebx + 4]
lea esi, [ebx + 8]
mov eax, dword [esi]
cmp ecx, 0
je 0x41942d
cmp ecx, 1
jne 0x4193f5
test eax, eax
je 0x41942d
mov eax, 1
jmp 0x41942d
cmp ecx, 2
jne 0x41940f
fld qword [esi]
wait
ftst
wait
fnstsw ax
fstp st(0)
sahf
mov eax, 0
je 0x41942d
inc eax
jmp 0x41942d
cmp ecx, 3
jne 0x41941f
xor eax, eax
cmp dword [ebx + 0xc], 0
je 0x41942d
inc eax
jmp 0x41942d
cmp ecx, 4
jne 0x41942b
mov eax, 1
jmp 0x41942d
xor eax, eax
pop ecx
mov edx, eax
pop ebx
pop eax
or ecx, edx
mov dword [eax + 8], ecx
cmp byte [eax], 2
jne 0x419443
mov esi, eax
call fcn.0041392c
cmp byte [ebx], 2
jne 0x41944f
mov esi, ebx
call fcn.0041392c
mov dword [eax + 4], 0
mov esi, dword [0x401799]
sub esi, 0x14
lea eax, [esi + 0x404dd4]
mov dword [0x401799], esi
push eax
mov ebx, eax
mov ecx, dword [ebx + 4]
lea esi, [ebx + 8]
mov eax, dword [esi]
cmp ecx, 0
je 0x4194c3
cmp ecx, 1
jne 0x41948b
test eax, eax
je 0x4194c3
mov eax, 1
jmp 0x4194c3
cmp ecx, 2
jne 0x4194a5
fld qword [esi]
wait
ftst
wait
fnstsw ax
fstp st(0)
sahf
mov eax, 0
je 0x4194c3
inc eax
jmp 0x4194c3
cmp ecx, 3
jne 0x4194b5
xor eax, eax
cmp dword [ebx + 0xc], 0
je 0x4194c3
inc eax
jmp 0x4194c3
cmp ecx, 4
jne 0x4194c1
mov eax, 1
jmp 0x4194c3
xor eax, eax
mov ecx, eax
pop eax
push ecx
cmp byte [eax], 2
jne 0x4194d3
mov esi, eax
call fcn.0041392c
pop ecx
test ecx, ecx
je 0x4194e2
jmp 0x418d68
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4037b5
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov esi, 0x4113e8
call fcn.00413a56
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x30]
mov eax, esi
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 dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.00414504
sub dword [0x401799], 0x14
mov esi, dword [0x401799]
lea ebx, [esi + 0x404dd4]
mov esi, ebx
cmp byte [esi], 2
jne 0x419576
mov ebx, dword [esi + 4]
cmp ebx, 3
jne 0x419569
mov eax, dword [esi + 8]
mov ecx, eax
mov eax, dword [0x40176d]
or dword [eax + ecx*8 + 4], 0x80000000
jmp 0x419576
cmp ebx, 4
jne 0x419576
mov eax, dword [esi + 8]
call fcn.00414638
mov ecx, 1
lea esi, [ebp + 8]
call fcn.004141e1
mov ecx, 3
lea edi, [ebp - 0x30]
push edi
push ecx
mov esi, edi
call fcn.0041395a
pop ecx
pop edi
add edi, 0x10
dec ecx
jne 0x41958b
mov ebx, dword [0x401799]
lea eax, [ebx + 0x404dd4]
mov dword [eax + 4], 8
add ebx, 0x14
mov dword [0x401799], ebx
leave
ret 4