Function at 0x403010
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x47e89f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
mov edx, dword [esp + 0x150]
mov eax, dword [esp + 0x154]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], ecx
mov dword [edx + 0x44], esi
mov dword [esp + 0x18], vtable.bin.0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], 0x4a49a0
mov dword [esp + 0x158], esi
mov eax, dword [edx + 0x40]
mov ecx, dword [edx + 0x3c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, dword [edx]
mov dword [esp + 0x30], esi
mov byte [esp + 0x20], 1
movzx edx, byte [eax + 0x3d9]
movzx eax, byte [eax + 0x3d8]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
test eax, eax
jge 0x4030ac
fadd dword [0x487308]
fdiv qword [0x4872d0]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
test edx, edx
jge 0x4030c4
fadd dword [0x487308]
mov eax, 4
faddp st(1)
mov dword [esp + 0x30], eax
mov edx, dword [ecx]
cmp edx, esi
fstp dword [esp + 0x3c]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x44], esi
jle 0x403990
push 0xe0
call fcn.00456cb9
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x158], 1
test eax, eax
je 0x40310c
push eax
call fcn.00405990
mov esi, eax
jmp 0x40310e
xor esi, esi
mov byte [esp + 0x158], 0
add dword [esp + 0x30], 4
mov dword [esp + 0x50], esi
call fcn.00457154
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403a1c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x158], 3
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov edi, dword [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
add eax, ecx
jne 0x403165
xor ecx, ecx
jmp 0x403179
mov ecx, eax
lea ebx, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x403170
sub ecx, ebx
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.00414ad0
mov eax, dword [esp + 0x30]
add eax, edi
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x24]
lea edx, [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov edx, dword [edx]
add ecx, eax
inc eax
mov dword [esp + 0x30], eax
cmp byte [ecx], 0
mov dword [esp + 0x58], edx
setne al
mov byte [esi + 0x15], al
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
mov dword [esi + 0x28], ecx
mov byte [esi + 0x2c], 0
mov eax, dword [esi + 0x28]
dec eax
cmp eax, 5
ja case.default.0x4031d5
jmp dword [eax*4 + 0x40596c]
fld dword [0x487398]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne case.default.0x4031d5
jmp 0x403236
fld dword [0x487398]
jmp 0x40322b
fld dword [0x487394]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne case.default.0x4031d5
jmp 0x403236
fld dword [0x487394]
jmp 0x40322b
fld dword [0x487390]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne case.default.0x4031d5
jmp 0x403236
fld dword [0x487390]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jp case.default.0x4031d5
mov byte [esi + 0x2c], 1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea eax, [edx + ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], 0
test eax, eax
jle 0x403411
call fcn.00457154
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403a1c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x158], 5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov edi, dword [eax + ecx]
add ecx, 4
add eax, ecx
mov dword [esp + 0x30], ecx
jne 0x4032a8
xor ecx, ecx
jmp 0x4032b9
mov ecx, eax
lea ebx, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4032b0
sub ecx, ebx
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00414ad0
mov eax, dword [esp + 0x30]
add eax, edi
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x34]
mov ebx, dword [ecx]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add edi, 0xfffffff0
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x403308
cmp eax, dword [edi]
jne 0x403308
mov ebp, edi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x40333c
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x403a26
mov eax, dword [edi + 4]
mov dword [ebp + 4], eax
mov eax, dword [edi + 4]
inc eax
push eax
lea ecx, [edi + 0x10]
push ecx
push eax
lea edx, [ebp + 0x10]
push edx
call fcn.00460b2b
add esp, 0x10
add ebp, 0x10
mov dword [esp + 0x70], ebp
mov byte [esp + 0x158], 7
mov dword [esp + 0x74], ebx
mov byte [esp + 0x158], 8
mov eax, dword [esi + 0x9c]
lea ebp, [esi + 0x98]
test eax, eax
jne 0x40336b
xor ecx, ecx
jmp 0x403373
mov ecx, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 3
mov ebx, dword [ebp + 8]
mov edx, ebx
sub edx, eax
sar edx, 3
cmp edx, ecx
jae 0x4033aa
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x54]
push eax
push ecx
push 1
push ebx
lea ecx, [esp + 0x80]
call fcn.0040ff90
add esp, 0x10
add ebx, 8
mov dword [ebp + 8], ebx
jmp 0x4033b5
push ebx
push ebp
lea ecx, [esp + 0x78]
call fcn.0040bd30
mov byte [esp + 0x158], 5
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4033dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x158], 3
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4033fe
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x38]
inc eax
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x38], eax
jl 0x403262
mov eax, dword [esp + 0x58]
add dword [esp + 0x30], 0x10
mov edi, dword [esp + 0x160]
mov ecx, dword [edi]
mov edx, eax
imul edx, edx, 0x58
add edx, dword [ecx + 0xb70]
lea ecx, [esi + 0x1c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
lea eax, [esp + 0x40]
push eax
call fcn.00413a20
mov ecx, dword [esp + 0x44]
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi], ecx
mov edx, dword [edi]
mov dword [esi + 0x18], edx
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x14], al
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov byte [esp + 0x158], 0xd
lea ecx, [esp + 0x88]
mov dword [esp + 0x98], 1
call fcn.00413760
mov byte [esp + 0x158], 0xe
mov edi, dword [esi + 0x3c]
mov ecx, dword [edi + 4]
lea ebx, [esi + 0x38]
lea eax, [esp + 0x88]
push eax
push ecx
push edi
call fcn.004138e0
mov ecx, ebx
mov ebp, eax
call fcn.00413990
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov byte [esp + 0x158], 3
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4034dc
push eax
call fcn.00456cf3
add esp, 4
mov eax, dword [esi + 0x3c]
mov eax, dword [eax]
add eax, 8
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x3c]
mov eax, dword [eax]
xor edx, edx
mov dword [esi + 0x44], eax
mov dword [esi + 0x24], edx
mov dword [esi + 0x30], edx
mov byte [esi + 0xc4], dl
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
lea edi, [ecx + eax]
inc eax
mov dword [esp + 0x30], eax
cmp byte [edi], 1
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
jne 0x403901
lea edi, [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov edi, dword [edi]
cmp edi, edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], edx
jle 0x40366e
call fcn.00457154
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403a1c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x9c], ebp
mov byte [esp + 0x158], 0x12
mov edi, dword [esi + 4]
mov eax, dword [edi + 0x2c]
add edi, 0x28
test eax, eax
jne 0x403587
xor ecx, ecx
jmp 0x40358f
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 3
mov ebx, dword [edi + 8]
mov edx, ebx
sub edx, eax
sar edx, 3
cmp edx, ecx
jae 0x4035c6
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x4c]
push eax
push ecx
push 1
push ebx
lea ecx, [esp + 0xac]
call fcn.0040ff90
add esp, 0x10
add ebx, 8
mov dword [edi + 8], ebx
jmp 0x4035d4
push ebx
push edi
lea ecx, [esp + 0xa4]
call fcn.0040bd30
mov byte [esp + 0x158], 3
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4035f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
add eax, 0x28
mov eax, dword [eax + 8]
lea edi, [eax - 8]
mov eax, dword [esp + 0x30]
mov ebp, dword [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
add eax, ecx
jne 0x40361e
xor ecx, ecx
jmp 0x40362c
mov ecx, eax
lea ebx, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x403623
sub ecx, ebx
push ecx
push eax
mov ecx, edi
call fcn.00414ad0
mov eax, dword [esp + 0x30]
add eax, ebp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [ecx]
inc eax
cmp eax, dword [esp + 0x48]
mov dword [edi + 4], ecx
mov dword [esp + 0x38], eax
jl 0x403547
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
xor edx, edx
lea edi, [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov edi, dword [edi]
cmp edi, edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], edx
jle 0x4037b9
lea ebx, [ebx]
call fcn.00457154
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403a1c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x78], ebp
mov byte [esp + 0x158], 0x17
mov edi, dword [esi + 4]
mov eax, dword [edi + 0x3c]
add edi, 0x38
test eax, eax
jne 0x4036cd
xor ecx, ecx
jmp 0x4036d5
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 3
mov ebx, dword [edi + 8]
mov edx, ebx
sub edx, eax
sar edx, 3
cmp edx, ecx
jae 0x403712
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xbc], 0
mov eax, dword [esp + 0xbc]
push eax
push ecx
push 1
push ebx
lea ecx, [esp + 0x88]
call fcn.0040ff90
add esp, 0x10
add ebx, 8
mov dword [edi + 8], ebx
jmp 0x403720
push ebx
push edi
lea ecx, [esp + 0x80]
call fcn.0040bd30
mov byte [esp + 0x158], 3
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403744
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
add eax, 0x38
mov eax, dword [eax + 8]
lea edi, [eax - 8]
mov eax, dword [esp + 0x30]
mov ebp, dword [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
add eax, ecx
jne 0x40376a
xor ecx, ecx
jmp 0x403779
mov ecx, eax
lea ebx, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x403770
sub ecx, ebx
push ecx
push eax
mov ecx, edi
call fcn.00414ad0
mov eax, dword [esp + 0x30]
add eax, ebp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [ecx]
inc eax
cmp eax, dword [esp + 0x48]
mov dword [edi + 4], ecx
mov dword [esp + 0x38], eax
jl 0x403690
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x38], 0
test ecx, ecx
jle 0x403901
call fcn.00457154
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403a1c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0xac], ebp
mov byte [esp + 0x158], 0x1c
mov edi, dword [esi + 4]
mov eax, dword [edi + 0x4c]
add edi, 0x48
test eax, eax
jne 0x403818
xor ecx, ecx
jmp 0x403820
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 3
mov ebx, dword [edi + 8]
mov edx, ebx
sub edx, eax
sar edx, 3
cmp edx, ecx
jae 0x40385d
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xc0], 0
mov eax, dword [esp + 0xc0]
push eax
push ecx
push 1
push ebx
lea ecx, [esp + 0xbc]
call fcn.0040ff90
add esp, 0x10
add ebx, 8
mov dword [edi + 8], ebx
jmp 0x40386b
push ebx
push edi
lea ecx, [esp + 0xb4]
call fcn.0040bd30
mov byte [esp + 0x158], 3
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40388f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
add eax, 0x48
mov eax, dword [eax + 8]
lea edi, [eax - 8]
mov eax, dword [esp + 0x30]
mov ebp, dword [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
add eax, ecx
jne 0x4038b5
xor ecx, ecx
jmp 0x4038c9
mov ecx, eax
lea ebx, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4038c0
sub ecx, ebx
push ecx
push eax
mov ecx, edi
call fcn.00414ad0
mov eax, dword [esp + 0x30]
add eax, ebp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [ecx]
inc eax
cmp eax, dword [esp + 0x48]
mov dword [edi + 4], ecx
mov dword [esp + 0x38], eax
jl 0x4037d8
mov edx, dword [esp + 0x160]
mov eax, dword [edx]
mov edi, dword [eax + 0xaf8]
add eax, 0xaf4
test edi, edi
jne 0x40391d
xor ecx, ecx
jmp 0x403925
mov ecx, dword [eax + 0xc]
sub ecx, edi
sar ecx, 2
mov edx, dword [eax + 8]
mov ebx, edx
sub ebx, edi
sar ebx, 2
cmp ebx, ecx
jae 0x40393d
mov dword [edx], esi
add edx, 4
mov dword [eax + 8], edx
jmp 0x40394b
lea ecx, [esp + 0x50]
push ecx
push 1
push edx
push eax
call fcn.00420860
mov byte [esp + 0x158], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403973
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
inc eax
cmp eax, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
jl 0x4030e5
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
xor esi, esi
lea edx, [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov edx, dword [edx]
cmp edx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], esi
jle 0x4041c6
lea esp, [esp]
lea edx, [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov edx, dword [edx]
lea esi, [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov esi, dword [esi]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
mov eax, dword [esp + 0x160]
mov dword [esp + 0x70], ecx
mov ecx, dword [eax]
mov eax, dword [ecx + 0xaf8]
mov ecx, dword [eax + edx*4]
push 0xe0
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], ecx
call fcn.00456cb9
add esp, 4
mov dword [esp + 0x50], eax
mov byte [esp + 0x158], 0x20
test eax, eax
je 0x403a2b
push eax
call fcn.00405990
mov esi, eax
jmp 0x403a2d
push 0x80004005
call fcn.00414a80
call fcn.004149b0
xor esi, esi
mov byte [esp + 0x158], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov ebp, dword [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
add eax, ecx
mov dword [esp + 0x58], esi
lea edi, [esi + 0x20]
jne 0x403a56
xor edx, edx
jmp 0x403a69
mov edx, eax
lea ebx, [edx + 1]
jmp 0x403a60
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x403a60
sub edx, ebx
push edx
push eax
mov ecx, edi
call fcn.00414ad0
mov eax, dword [esp + 0x48]
add dword [esp + 0x30], ebp
mov edi, dword [esp + 0x160]
mov ecx, eax
imul ecx, ecx, 0x58
mov ebx, 1
mov dword [esi + 0x10], ebx
mov edx, dword [edi]
add ecx, dword [edx + 0xb70]
mov edx, dword [esp + 0x4c]
push eax
push edx
lea eax, [esi + 0x1c]
push str.Movement__d__d
mov dword [esi + 4], ecx
push eax
mov byte [esi + 0x14], bl
call fcn.00413e40
mov eax, dword [edi]
mov ecx, dword [eax + 0xafc]
sub ecx, dword [eax + 0xaf8]
add eax, 0xaf4
sar ecx, 2
mov dword [esi], ecx
xor eax, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [edi]
add esp, 0x10
mov dword [esi + 0x18], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov byte [esp + 0x158], 0x22
lea ecx, [esp + 0x88]
mov dword [esp + 0x98], ebx
call fcn.00413760
mov byte [esp + 0x158], 0x23
mov edi, dword [esi + 0x3c]
mov eax, dword [edi + 4]
lea ebx, [esi + 0x38]
lea edx, [esp + 0x88]
push edx
push eax
push edi
call fcn.004138e0
mov ecx, ebx
mov ebp, eax
call fcn.00413990
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov byte [esp + 0x158], 0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x403b53
push eax
call fcn.00456cf3
add esp, 4
mov eax, dword [esi + 0x3c]
mov eax, dword [eax]
add eax, 8
mov dword [esi + 0x34], eax
mov dword [esi + 0xc], 0xffffffff
mov eax, dword [esi + 0x3c]
mov eax, dword [eax]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x3c]
xor ebx, ebx
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], eax
mov cl, byte [eax + 0x15]
mov byte [esi + 0x15], cl
mov byte [esi + 0xc4], bl
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
lea edx, [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov edi, dword [edx]
cmp edi, ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x54], edi
jle 0x403be2
push edi
call fcn.00456ce8
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
add esp, 4
push edi
add ecx, edx
push ecx
push eax
mov dword [esp + 0x44], eax
call fcn.00465dd0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
add esp, 0xc
jmp 0x403be6
mov dword [esp + 0x38], ebx
add eax, edi
mov dword [esp + 0x30], eax
lea edx, [ecx + eax]
inc eax
mov dword [esp + 0x30], eax
cmp byte [edx], 1
jne 0x403fe1
lea edx, [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov edx, dword [edx]
mov dword [esp + 0x50], edx
mov dword [esp + 0x34], 0
test edx, edx
jle 0x403d49
lea ecx, [ecx]
call fcn.00457154
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403a1c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0xac], ebp
mov byte [esp + 0x158], 0x27
mov edi, dword [esi + 4]
mov eax, dword [edi + 0x2c]
add edi, 0x28
test eax, eax
jne 0x403c60
xor ecx, ecx
jmp 0x403c68
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 3
mov ebx, dword [edi + 8]
mov edx, ebx
sub edx, eax
sar edx, 3
cmp edx, ecx
jae 0x403c9f
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x5c]
push eax
push ecx
push 1
push ebx
lea ecx, [esp + 0xbc]
call fcn.0040ff90
add esp, 0x10
add ebx, 8
mov dword [edi + 8], ebx
jmp 0x403cad
push ebx
push edi
lea ecx, [esp + 0xb4]
call fcn.0040bd30
mov byte [esp + 0x158], 0
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403cd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
add eax, 0x28
mov eax, dword [eax + 8]
lea edi, [eax - 8]
mov eax, dword [esp + 0x30]
mov ebp, dword [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
add eax, ecx
jne 0x403cf7
xor ecx, ecx
jmp 0x403d09
mov ecx, eax
lea ebx, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x403d00
sub ecx, ebx
push ecx
push eax
mov ecx, edi
call fcn.00414ad0
mov eax, dword [esp + 0x30]
add eax, ebp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [ecx]
inc eax
cmp eax, dword [esp + 0x50]
mov dword [edi + 4], ecx
mov dword [esp + 0x34], eax
jl 0x403c20
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
lea edx, [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov edx, dword [edx]
mov dword [esp + 0x50], edx
mov dword [esp + 0x34], 0
test edx, edx
jle 0x403e99
lea esp, [esp]
call fcn.00457154
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403a1c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x78], ebp
mov byte [esp + 0x158], 0x2c
mov edi, dword [esi + 4]
mov eax, dword [edi + 0x3c]
add edi, 0x38
test eax, eax
jne 0x403dad
xor ecx, ecx
jmp 0x403db5
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 3
mov ebx, dword [edi + 8]
mov edx, ebx
sub edx, eax
sar edx, 3
cmp edx, ecx
jae 0x403df2
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xc0], 0
mov eax, dword [esp + 0xc0]
push eax
push ecx
push 1
push ebx
lea ecx, [esp + 0x88]
call fcn.0040ff90
add esp, 0x10
add ebx, 8
mov dword [edi + 8], ebx
jmp 0x403e00
push ebx
push edi
lea ecx, [esp + 0x80]
call fcn.0040bd30
mov byte [esp + 0x158], 0
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403e24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
add eax, 0x38
mov eax, dword [eax + 8]
lea edi, [eax - 8]
mov eax, dword [esp + 0x30]
mov ebp, dword [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
add eax, ecx
jne 0x403e4a
xor ecx, ecx
jmp 0x403e59
mov ecx, eax
lea ebx, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x403e50
sub ecx, ebx
push ecx
push eax
mov ecx, edi
call fcn.00414ad0
mov eax, dword [esp + 0x30]
add eax, ebp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [ecx]
inc eax
cmp eax, dword [esp + 0x50]
mov dword [edi + 4], ecx
mov dword [esp + 0x34], eax
jl 0x403d70
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], 0
test ecx, ecx
jle 0x403fe1
call fcn.00457154
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403a1c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x9c], ebp
mov byte [esp + 0x158], 0x31
mov edi, dword [esi + 4]
mov eax, dword [edi + 0x4c]
add edi, 0x48
test eax, eax
jne 0x403ef8
xor ecx, ecx
jmp 0x403f00
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 3
mov ebx, dword [edi + 8]
mov edx, ebx
sub edx, eax
sar edx, 3
cmp edx, ecx
jae 0x403f3d
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xbc], 0
mov eax, dword [esp + 0xbc]
push eax
push ecx
push 1
push ebx
lea ecx, [esp + 0xac]
call fcn.0040ff90
add esp, 0x10
add ebx, 8
mov dword [edi + 8], ebx
jmp 0x403f4b
push ebx
push edi
lea ecx, [esp + 0xa4]
call fcn.0040bd30
mov byte [esp + 0x158], 0
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403f6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
add eax, 0x48
mov eax, dword [eax + 8]
lea edi, [eax - 8]
mov eax, dword [esp + 0x30]
mov ebp, dword [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
add eax, ecx
jne 0x403f95
xor ecx, ecx
jmp 0x403fa9
mov ecx, eax
lea ebx, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x403fa0
sub ecx, ebx
push ecx
push eax
mov ecx, edi
call fcn.00414ad0
mov eax, dword [esp + 0x30]
add eax, ebp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [ecx]
inc eax
cmp eax, dword [esp + 0x50]
mov dword [edi + 4], ecx
mov dword [esp + 0x34], eax
jl 0x403eb8
push 0x50
call fcn.00456cb9
add esp, 4
mov dword [esp + 0x50], eax
mov byte [esp + 0x158], 0x34
xor ebx, ebx
cmp eax, ebx
je 0x40401d
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], ebx
mov dword [eax + 0x48], ebx
mov byte [esp + 0x158], 0x35
mov byte [eax + 0x4c], bl
mov byte [esp + 0x158], 0x34
mov edi, eax
jmp 0x40401f
xor edi, edi
mov byte [esp + 0x158], 0
push 0x50
push ebx
push edi
call fcn.00463c50
fldz
mov edx, dword [esp + 0x44]
fstp dword [edi + 0x10]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x54]
mov dword [edi + 0x20], edx
mov edx, dword [esp + 0x4c]
mov dword [edi + 0x24], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x1c], edx
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x7c]
lea edi, [esi + 0x78]
add esp, 0xc
cmp eax, ebx
jne 0x404065
xor ecx, ecx
jmp 0x40406d
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 2
mov edx, dword [edi + 8]
mov ebx, edx
sub ebx, eax
sar ebx, 2
cmp ebx, ecx
jae 0x404089
mov eax, dword [esp + 0x3c]
mov dword [edx], eax
add edx, 4
mov dword [edi + 8], edx
jmp 0x40409b
lea eax, [esp + 0x3c]
push eax
push 1
push edx
push edi
call fcn.00420860
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x10], 1
mov ecx, dword [eax + 0x80]
mov ebx, dword [eax + 0x7c]
mov dword [esp + 0x50], ecx
cmp ebx, ecx
je 0x4040f7
mov edx, dword [edi + 4]
test edx, edx
jne 0x4040be
xor ecx, ecx
jmp 0x4040c6
mov ecx, dword [edi + 0xc]
sub ecx, edx
sar ecx, 2
mov eax, dword [edi + 8]
mov ebp, eax
sub ebp, edx
sar ebp, 2
cmp ebp, ecx
jae 0x4040e0
mov ecx, dword [ebx]
mov dword [eax], ecx
add eax, 4
mov dword [edi + 8], eax
jmp 0x4040ea
push ebx
push 1
push eax
push edi
call fcn.00420860
add ebx, 4
cmp ebx, dword [esp + 0x50]
jne 0x4040b3
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x7c]
add eax, 0x78
test edi, edi
jne 0x404105
xor ecx, ecx
jmp 0x40410d
mov ecx, dword [eax + 0xc]
sub ecx, edi
sar ecx, 2
mov edx, dword [eax + 8]
mov ebx, edx
sub ebx, edi
sar ebx, 2
cmp ebx, ecx
jae 0x404125
mov dword [edx], esi
add edx, 4
mov dword [eax + 8], edx
jmp 0x404133
lea ecx, [esp + 0x58]
push ecx
push 1
push edx
push eax
call fcn.00420860
mov ebx, dword [esp + 0x160]
mov eax, dword [ebx]
mov edi, dword [eax + 0xaf8]
add eax, 0xaf4
test edi, edi
jne 0x40414f
xor ecx, ecx
jmp 0x404157
mov ecx, dword [eax + 0xc]
sub ecx, edi
sar ecx, 2
mov edx, dword [eax + 8]
mov ebp, edx
sub ebp, edi
sar ebp, 2
cmp ebp, ecx
jae 0x40416f
mov dword [edx], esi
add edx, 4
mov dword [eax + 8], edx
jmp 0x40417d
lea ecx, [esp + 0x58]
push ecx
push 1
push edx
push eax
call fcn.00420860
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc8], eax
add ebx, 0x1c
push ebx
lea eax, [esp + 0xc8]
mov dword [esp + 0xc8], edx
call fcn.00409290
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
jl 0x4039b0
xor esi, esi
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
cmp ecx, esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], esi
jle 0x404439
lea ecx, [esp + 0x40]
call fcn.00414640
mov byte [esp + 0x158], 0x36
lea edx, [esp + 0x40]
push edx
lea esi, [esp + 0x1c]
call fcn.00413c00
push 0xe0
call fcn.00456cb9
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x158], 0x37
test eax, eax
je 0x404227
push eax
call fcn.00405990
mov esi, eax
jmp 0x404229
xor esi, esi
mov byte [esp + 0x158], 0x36
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov dword [esi + 8], 0xffffffff
mov byte [esi + 0x14], al
lea eax, [esp + 0x40]
lea ecx, [esi + 0x1c]
push eax
mov dword [esp + 0x38], esi
call fcn.00413a20
mov ecx, dword [esp + 0x160]
mov eax, dword [ecx]
mov edx, dword [eax + 0xafc]
sub edx, dword [eax + 0xaf8]
add eax, 0xaf4
sar edx, 2
mov dword [esi], edx
mov eax, dword [ecx]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x88]
mov dword [esi + 0x18], eax
push edx
mov dword [esi + 0xc], ecx
call fcn.00413830
mov byte [esp + 0x158], 0x38
mov edi, dword [esi + 0x3c]
lea ebx, [esi + 0x38]
push eax
mov eax, dword [edi + 4]
push eax
push edi
call fcn.004138e0
mov ecx, ebx
mov ebp, eax
call fcn.00413990
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov byte [esp + 0x158], 0x36
lea ecx, [esp + 0x88]
push ecx
call fcn.004387f0
mov eax, dword [esi + 0x3c]
mov eax, dword [eax]
mov edx, dword [esp + 0x160]
add eax, 8
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x3c]
mov eax, dword [eax]
mov dword [esi + 0x44], eax
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [esi + 0xc4], 0
mov eax, dword [edx]
mov ecx, dword [eax + 0xaf8]
add eax, 0xaf4
test ecx, ecx
jne 0x40430f
xor edx, edx
jmp 0x404317
mov edx, dword [eax + 0xc]
sub edx, ecx
sar edx, 2
mov edi, dword [eax + 8]
mov ebx, edi
sub ebx, ecx
sar ebx, 2
cmp ebx, edx
jae 0x40432f
mov dword [edi], esi
add edi, 4
mov dword [eax + 8], edi
jmp 0x40433d
lea ecx, [esp + 0x34]
push ecx
push 1
push edi
push eax
call fcn.00420860
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea eax, [edx + ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
test eax, eax
jle 0x404415
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add eax, ecx
add ecx, 4
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x160]
mov edx, dword [ecx]
mov eax, dword [eax]
mov ecx, dword [edx + 0xaf8]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x8c]
lea eax, [ebx + 0x88]
mov dword [esp + 0x14], ebx
test ecx, ecx
jne 0x40439a
xor edx, edx
jmp 0x4043a2
mov edx, dword [eax + 0xc]
sub edx, ecx
sar edx, 2
mov edi, dword [eax + 8]
mov ebp, edi
sub ebp, ecx
sar ebp, 2
cmp ebp, edx
jae 0x4043ba
mov dword [edi], esi
add edi, 4
mov dword [eax + 8], edi
jmp 0x4043c8
lea edx, [esp + 0x34]
push edx
push 1
push edi
push eax
call fcn.00420860
mov edx, dword [esi + 0x8c]
lea edi, [esi + 0x88]
test edx, edx
jne 0x4043dc
xor eax, eax
jmp 0x4043e4
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 2
mov ecx, dword [edi + 8]
mov ebp, ecx
sub ebp, edx
sar ebp, 2
cmp ebp, eax
jae 0x4043fc
mov dword [ecx], ebx
add ecx, 4
mov dword [edi + 8], ecx
jmp 0x40440a
lea eax, [esp + 0x14]
push eax
push 1
push ecx
push edi
call fcn.00420860
sub dword [esp + 0x38], 1
jne 0x40435d
mov byte [esp + 0x158], 0
lea ecx, [esp + 0x40]
call fcn.004146a0
mov eax, dword [esp + 0x44]
inc eax
cmp eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
jl 0x4041e1
xor edi, edi
xor ebp, ebp
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], edi
mov byte [esp + 0x158], 0x39
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x160]
lea eax, [edx + ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
cmp eax, edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], edi
jle 0x404ce1
lea ecx, [esp + 0x40]
call fcn.00414640
mov byte [esp + 0x158], 0x3a
lea eax, [esp + 0x40]
push eax
lea esi, [esp + 0x1c]
call fcn.00413c00
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ebp, dword [ecx]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov byte [esp + 0x158], 0x3b
push ebp
lea ecx, [esp + 0x7c]
call fcn.00408700
cmp ebp, edi
mov edx, dword [esp + 0x7c]
jle 0x404566
mov esi, dword [esp + 0x80]
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov eax, dword [eax + 0xaf8]
lea ecx, [eax + ecx*4]
cmp edx, edi
jne 0x404518
xor eax, eax
jmp 0x404524
mov eax, dword [esp + 0x84]
sub eax, edx
sar eax, 2
mov edi, esi
sub edi, edx
sar edi, 2
cmp edi, eax
jae 0x40453f
mov ecx, dword [ecx]
mov dword [esi], ecx
add esi, 4
mov dword [esp + 0x80], esi
jmp 0x40455b
push ecx
push 1
push esi
lea edx, [esp + 0x84]
push edx
call fcn.00420860
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
xor edi, edi
sub dword [esp + 0x34], 1
jne 0x4044f2
cmp ebp, edi
jne 0x4045a5
mov byte [esp + 0x158], 0x3a
cmp edx, edi
je 0x40457d
push edx
call fcn.00456cf3
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov byte [esp + 0x158], 0x39
lea ecx, [esp + 0x40]
call fcn.004146a0
jmp 0x404cc7
push 0xe0
call fcn.00456cb9
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x158], 0x3c
cmp eax, edi
je 0x4045cc
push eax
call fcn.00405990
mov ebp, eax
jmp 0x4045ce
xor ebp, ebp
mov byte [esp + 0x158], 0x3b
xor eax, eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x24], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov dword [ebp + 4], edx
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov dword [ebp + 8], ecx
lea edx, [esp + 0x40]
lea ecx, [ebp + 0x1c]
push edx
mov dword [esp + 0x4c], ebp
mov byte [ebp + 0x14], 0
call fcn.00413a20
mov ecx, dword [esp + 0x160]
mov eax, dword [ecx]
mov edx, dword [eax + 0xafc]
sub edx, dword [eax + 0xaf8]
add eax, 0xaf4
sar edx, 2
mov dword [ebp], edx
mov eax, dword [ecx]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x18], eax
lea eax, [esp + 0x100]
add ecx, edx
push eax
mov dword [ebp + 0xc], ecx
call fcn.00413830
mov byte [esp + 0x158], 0x3d
mov esi, dword [ebp + 0x3c]
mov ecx, dword [esi + 4]
lea ebx, [ebp + 0x38]
push eax
push ecx
push esi
call fcn.004138e0
mov ecx, ebx
mov edi, eax
call fcn.00413990
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov byte [esp + 0x158], 0x3b
lea edx, [esp + 0x100]
push edx
call fcn.004387f0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax]
add eax, 8
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax]
mov dword [ebp + 0x44], eax
xor esi, esi
cmp dword [esp + 0x3c], esi
mov byte [ebp + 0x2c], 0
mov dword [ebp + 0x30], esi
mov byte [ebp + 0xc4], 0
jle 0x404716
lea ebx, [ebp + 0x88]
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + esi*4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x4046ca
xor eax, eax
jmp 0x4046d2
mov eax, dword [ebx + 0xc]
sub eax, ecx
sar eax, 2
mov edx, dword [ebx + 8]
mov edi, edx
sub edi, ecx
sar edi, 2
cmp edi, eax
jae 0x4046ee
mov eax, dword [esp + 0x4c]
mov dword [edx], eax
add edx, 4
mov dword [ebx + 8], edx
jmp 0x4046fc
lea ecx, [esp + 0x4c]
push ecx
push 1
push edx
push ebx
call fcn.00420860
mov edx, dword [esp + 0x4c]
add edx, 0x88
lea edi, [esp + 0x48]
call fcn.004087e0
inc esi
cmp esi, dword [esp + 0x3c]
jl 0x4046b4
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea ecx, [edx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov ebx, dword [ecx]
test ebx, ebx
jle 0x4047b6
lea edi, [ebp + 0x98]
lea ecx, [esp + 0x58]
call fcn.00414640
mov byte [esp + 0x158], 0x3e
lea eax, [esp + 0x58]
push eax
lea esi, [esp + 0x1c]
call fcn.00413c00
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0xcc]
push eax
call fcn.00413ba0
mov byte [esp + 0x158], 0x3f
mov ecx, eax
call fcn.00408e80
mov byte [esp + 0x158], 0x3e
lea ecx, [esp + 0xc4]
call fcn.004146a0
mov byte [esp + 0x158], 0x3b
lea ecx, [esp + 0x58]
call fcn.004146a0
sub ebx, 1
jne 0x404738
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x4c], 0
jle 0x404886
lea esp, [esp]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x4c]
mov eax, dword [ecx + edx*4]
lea edx, [esp + 0x34]
lea edi, [ebp + 0xa8]
mov dword [esp + 0x34], eax
call fcn.00413590
mov ebx, dword [ebp + 0x9c]
mov esi, eax
mov eax, dword [ebp + 0xa0]
mov dword [esp + 0x14], eax
cmp ebx, eax
je 0x404873
jmp 0x404810
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0xa0]
mov ecx, dword [ecx + 0x9c]
push ebx
push eax
push ecx
call fcn.00413430
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x38], eax
test ecx, ecx
jne 0x40483a
xor edx, edx
jmp 0x404842
mov edx, dword [esi + 0xc]
sub edx, ecx
sar edx, 2
mov edi, dword [esi + 8]
mov eax, edi
sub eax, ecx
sar eax, 2
cmp eax, edx
jae 0x40485e
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
add edi, 4
mov dword [esi + 8], edi
jmp 0x40486a
lea edx, [esp + 0x38]
push edx
push edi
push esi
call fcn.0040d040
add ebx, 8
cmp ebx, dword [esp + 0x14]
jne 0x404810
mov eax, dword [esp + 0x4c]
inc eax
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
jl 0x4047d0
mov eax, dword [esp + 0x160]
mov edx, dword [eax]
add edx, 0xaf4
lea edi, [esp + 0x48]
xor ebx, ebx
call fcn.004087e0
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x158], 0x41
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x158], 0x42
mov ecx, dword [ebp + 0x8c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x7c]
add eax, 0x78
mov eax, dword [ecx]
add eax, 0x78
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x404967
nop
mov ecx, dword [esi]
cmp byte [ecx + 0x14], 0
je 0x40495e
mov edi, esi
lea edx, [esp + 0x9c]
call fcn.004087e0
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov byte [esp + 0x158], 0x43
lea ecx, [esp + 0x88]
lea edi, [esp + 0x60]
call fcn.00409640
mov byte [esp + 0x158], 0x42
mov edx, dword [esp + 0x68]
add edx, 0xfffffff0
mov edi, esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
call fcn.004087e0
add esi, 4
cmp esi, dword [esp + 0x14]
jne 0x4048f0
mov ecx, dword [esp + 0xa4]
sub ecx, dword [esp + 0xa0]
sar ecx, 2
mov dword [esp + 0x14], ecx
cmp ecx, ebx
je 0x404c1f
mov eax, dword [ebp + 0x8c]
mov edx, dword [ebp + 0x90]
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], edx
cmp eax, edx
je 0x404a2e
jmp 0x4049ad
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov edx, dword [eax + 0x80]
sub edx, dword [eax + 0x7c]
sar edx, 2
cmp edx, ecx
jne 0x404c1f
mov ecx, dword [eax + 0x80]
mov edi, dword [eax + 0x7c]
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x70], ecx
cmp edi, ecx
je 0x404a17
nop
cmp ebx, dword [esp + 0xa4]
je 0x404a17
mov eax, dword [edi]
cmp byte [eax + 0x14], 0
je 0x404a0d
mov ecx, dword [ebx]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jne 0x404c1d
mov edx, esi
call fcn.004087e0
mov ecx, dword [esp + 0x70]
add ebx, 4
add edi, 4
add esi, 0x10
cmp edi, ecx
jne 0x4049e0
mov eax, dword [esp + 0x3c]
add eax, 4
xor ebx, ebx
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x5c]
jne 0x4049a5
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0xa4]
je 0x404c1f
mov ecx, dword [esp + 0x64]
add ecx, 8
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ecx
jmp 0x404a60
mov edx, dword [eax]
cmp byte [edx + 0x14], 0
je 0x404bfd
push 0xe0
call fcn.00456cb9
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x158], 0x44
cmp eax, ebx
je 0x404a93
push eax
call fcn.00405990
mov esi, eax
jmp 0x404a95
xor esi, esi
mov byte [esp + 0x158], 0x42
mov edi, dword [esp + 0x3c]
mov eax, dword [edi]
add eax, 0x20
lea ecx, [esi + 0x20]
push eax
mov dword [esp + 0x50], esi
call fcn.00413a20
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov byte [esi + 0x2c], al
mov byte [esi + 0x15], al
mov byte [esi + 0xc4], al
mov eax, dword [esp + 0x38]
sar eax, 2
push eax
mov byte [esi + 0x14], 1
mov dword [esp + 0x74], eax
mov eax, dword [ebp]
push eax
lea ecx, [esi + 0x1c]
push str.FMovement__d__d
push ecx
call fcn.00413e40
mov dword [esi + 0x30], ebp
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x170]
mov dword [esi + 4], edx
mov ecx, dword [eax]
add esp, 0x10
lea edx, [esp + 0xe4]
push edx
mov dword [esi + 0x18], ecx
call fcn.00413830
mov byte [esp + 0x158], 0x45
mov edi, dword [esi + 0x3c]
push eax
mov eax, dword [edi + 4]
push eax
push edi
call fcn.004138e0
lea ecx, [esi + 0x38]
mov ebx, eax
call fcn.00413990
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov byte [esp + 0x158], 0x42
lea ecx, [esp + 0xe4]
push ecx
call fcn.004387f0
mov eax, dword [esi + 0x3c]
mov eax, dword [eax]
add eax, 8
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x3c]
mov eax, dword [eax]
lea edx, [esi + 0x88]
lea edi, [esp + 0x48]
mov dword [esi + 0x44], eax
call fcn.004087e0
lea edx, [ebp + 0xb4]
lea edi, [esp + 0x4c]
call fcn.004087e0
mov eax, dword [esp + 0x34]
mov ebx, dword [eax - 4]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp ebx, eax
je 0x404bc7
lea ebx, [ebx]
mov edx, dword [ebx]
add edx, 0x88
lea edi, [esp + 0x4c]
call fcn.004087e0
mov edx, dword [ebx]
add edx, 0xb4
call fcn.004087e0
add ebx, 4
cmp ebx, dword [esp + 0x14]
jne 0x404ba0
mov eax, dword [esp + 0x70]
mov edx, dword [ebp]
lea ecx, [esp + 0xac]
mov dword [esp + 0xb0], eax
push ecx
lea eax, [esp + 0xd8]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb8], esi
call fcn.004095b0
mov eax, dword [esp + 0x3c]
xor ebx, ebx
add dword [esp + 0x38], 4
add dword [esp + 0x34], 0x10
add eax, 4
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0xa4]
jne 0x404a60
jmp 0x404c1f
xor ebx, ebx
mov byte [esp + 0x158], 0x41
mov esi, dword [esp + 0x64]
cmp esi, ebx
je 0x404c49
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x68]
push edx
push eax
mov eax, esi
call fcn.004103b0
push esi
call fcn.00456cf3
add esp, 0xc
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x158], 0x3b
mov eax, dword [esp + 0xa0]
cmp eax, ebx
je 0x404c71
push eax
call fcn.00456cf3
add esp, 4
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x158], 0x3a
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00456cf3
add esp, 4
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x158], 0x39
lea ecx, [esp + 0x40]
call fcn.004146a0
mov ebx, dword [esp + 0x160]
xor edi, edi
mov eax, dword [esp + 0x44]
inc eax
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x44], eax
jl 0x404485
mov ebp, dword [esp + 0xd8]
cmp ebp, dword [esp + 0xdc]
je 0x404d82
add ebp, 8
mov eax, dword [ebx]
mov esi, dword [eax + 0xafc]
sub esi, dword [eax + 0xaf8]
mov edx, dword [ebp]
add eax, 0xaf4
sar esi, 2
mov dword [edx], esi
mov eax, dword [ebp]
lea ecx, [ebx + 0x1c]
mov dword [eax + 0xc], esi
lea eax, [ebp - 8]
push ecx
call fcn.00409290
mov dword [eax], esi
mov edx, dword [ebx]
add edx, 0xaf4
mov edi, ebp
call fcn.004087e0
mov eax, dword [ebp]
lea edi, [eax + 0x30]
lea edx, [eax + 0xb4]
call fcn.004087e0
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x30]
mov edi, dword [eax + 0xb8]
mov esi, dword [eax + 0xbc]
cmp edi, esi
je 0x404d6f
mov eax, dword [ebp]
cmp dword [edi], eax
je 0x404d68
lea edx, [eax + 0xb4]
call fcn.004087e0
add edi, 4
cmp edi, esi
jne 0x404d56
add ebp, 0xc
lea edx, [ebp - 8]
cmp edx, dword [esp + 0xdc]
jne 0x404cf1
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add eax, ecx
add ecx, 4
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
test eax, eax
jle 0x404ed3
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea eax, [edx + ecx]
xor edi, edi
add ecx, 4
mov dword [esp + 0x30], ecx
mov esi, dword [eax]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov byte [esp + 0x158], 0x46
lea eax, [esi + esi]
push eax
lea ecx, [esp + 0x64]
call fcn.00408700
cmp esi, edi
jle 0x404e40
mov ebx, dword [esp + 0x160]
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xaf8]
mov ecx, dword [ecx]
mov ebp, dword [eax + ecx*4]
lea edi, [esp + 0x14]
lea edx, [esp + 0x60]
mov dword [esp + 0x14], ebp
call fcn.004087e0
mov edi, dword [ebp + 0x7c]
cmp edi, dword [ebp + 0x80]
je 0x404e39
push edi
lea esi, [esp + 0x64]
call fcn.00436f90
add edi, 4
add esp, 4
cmp edi, dword [ebp + 0x80]
jne 0x404e21
sub dword [esp + 0x54], 1
jne 0x404de7
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov ebp, esi
cmp esi, ebx
je 0x404ea5
mov ecx, ebx
sub ecx, esi
sar ecx, 2
dec ecx
mov dword [esp + 0x14], ecx
lea ebx, [ebx]
mov edx, dword [ebp]
mov eax, dword [esp + 0x14]
mov dword [edx + 0x10], 1
mov ecx, dword [ebp]
push eax
add ecx, 0x78
call fcn.00408700
mov edi, esi
lea esp, [esp]
mov eax, dword [ebp]
cmp eax, dword [edi]
je 0x404e97
push edi
lea esi, [eax + 0x78]
call fcn.00436f90
mov esi, dword [esp + 0x68]
add esp, 4
add edi, 4
cmp edi, ebx
jne 0x404e80
add ebp, 4
cmp ebp, ebx
jne 0x404e60
mov byte [esp + 0x158], 0x39
xor edi, edi
cmp esi, edi
je 0x404ebc
push esi
call fcn.00456cf3
add esp, 4
sub dword [esp + 0x34], 1
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
jne 0x404da1
mov ebx, dword [esp + 0x160]
mov eax, dword [ebx]
mov ecx, dword [eax + 0xafc]
sub ecx, dword [eax + 0xaf8]
lea edx, [eax + 0xaf4]
sar ecx, 2
call fcn.00424120
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], esi
jle 0x405865
fld1
add ebx, 0x18
fstp dword [esp + 0x60]
push 0x1b8
call fcn.00456cb9
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x158], 0x47
mov ebp, dword [esp + 0x160]
test eax, eax
je 0x404f54
mov edx, dword [ebp]
push edx
push eax
call fcn.00433010
jmp 0x404f56
xor eax, eax
mov byte [esp + 0x158], 0x39
mov edx, dword [ebp]
add edx, 0xb08
mov edi, ebx
mov dword [ebx], eax
call fcn.004087e0
mov eax, dword [ebp]
mov ecx, dword [ebx]
add eax, 0xaf4
push eax
add ecx, 0xfc
push ecx
call fcn.00427d40
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea ecx, [edx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
mov eax, dword [ebx]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
mov edx, dword [ebx]
mov dword [edx + 0xc], ecx
mov eax, dword [ebx]
add eax, 0x88
push eax
lea esi, [esp + 0x1c]
call fcn.00413c00
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
mov edx, dword [ebx]
mov dword [edx + 0x28], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
inc eax
mov dword [esp + 0x30], eax
mov cl, byte [ecx]
mov edx, dword [ebx]
mov byte [edx + 0x20], cl
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
inc eax
mov dword [esp + 0x30], eax
cmp byte [ecx], 0
je 0x405018
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [ebx]
mov dword [edx + 0x28], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x28]
mov edx, ecx
shr edx, 8
movzx esi, cl
movzx edx, dl
fld dword [esi*4 + 0x4a82f0]
shr ecx, 0x10
fstp dword [esp + 0x64]
movzx ecx, cl
fld dword [edx*4 + 0x4a82f0]
fstp dword [esp + 0x68]
mov edx, dword [esp + 0x64]
fld dword [ecx*4 + 0x4a82f0]
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc8], ecx
fstp dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
fldz
mov dword [eax + 0xcc], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x884]
mov ecx, dword [ebx]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x888]
mov ecx, dword [ebx]
mov dword [ecx + 0x14], edx
mov eax, dword [ebx]
fst qword [eax + 0x30]
mov ecx, dword [ebx]
fst qword [ecx + 0x38]
mov edx, dword [ebx]
fst qword [edx + 0x58]
mov eax, dword [ebx]
fstp qword [eax + 0x60]
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x18], ecx
mov eax, dword [ebx]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebx]
mov eax, dword [esp + 0x48]
mov dword [edx + 4], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add eax, edx
add edx, 4
mov dword [esp + 0x30], edx
mov eax, dword [eax]
cmp eax, ecx
jle 0x40519f
mov ebp, eax
jmp 0x4050e0
lea ecx, [esp + 0x40]
call fcn.00414640
mov byte [esp + 0x158], 0x48
lea ecx, [esp + 0x40]
push ecx
lea esi, [esp + 0x1c]
call fcn.00413c00
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
lea edx, [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
cmp dword [edx], 0
jne 0x405137
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov edx, dword [ebx]
mov esi, dword [ecx]
add edx, 0x158
push edx
lea edi, [esp + 0x44]
call fcn.00413250
mov dword [eax], esi
jmp 0x405185
lea ecx, [esp + 0x34]
call fcn.00414640
mov byte [esp + 0x158], 0x49
lea eax, [esp + 0x34]
push eax
lea esi, [esp + 0x1c]
call fcn.00413c00
mov ecx, dword [ebx]
add ecx, 0x164
push ecx
lea edi, [esp + 0x44]
call fcn.00408c70
lea edx, [esp + 0x34]
push edx
mov ecx, eax
call fcn.00413a20
mov byte [esp + 0x158], 0x48
lea ecx, [esp + 0x34]
call fcn.004146a0
mov byte [esp + 0x158], 0x39
lea ecx, [esp + 0x40]
call fcn.004146a0
sub ebp, 1
jne 0x4050e0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add eax, ecx
add ecx, 4
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], 0
test eax, eax
jle 0x4057b4
fld1
fstp dword [esp + 0xc4]
add dword [esp + 0x30], 4
push 0xc0
call fcn.00456cb9
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x158], 0x4a
test eax, eax
je 0x405205
mov ecx, dword [esp + 0x160]
mov edx, dword [ecx]
push edx
push eax
call fcn.0041c7e0
mov ebp, eax
jmp 0x405207
xor ebp, ebp
mov byte [esp + 0x158], 0x39
mov edx, dword [ebx]
add edx, 0xdc
lea edi, [esp + 0x14]
mov dword [esp + 0x14], ebp
call fcn.00409000
lea edi, [ebp + 0x50]
push edi
lea esi, [esp + 0x1c]
call fcn.00413c00
call fcn.00413ef0
mov eax, dword [esp + 0x44]
mov dword [ebp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
inc eax
mov dword [esp + 0x30], eax
movsx edx, byte [ecx]
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
lea eax, [edx + ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
add edx, ecx
add ecx, 4
mov dword [esp + 0x30], ecx
mov ecx, eax
fld dword [edx]
mov edx, dword [esp + 0xc4]
fstp dword [esp + 0x14]
movzx esi, al
fld dword [esp + 0x14]
fmul qword [0x4872c8]
shr ecx, 8
movzx ecx, cl
fstp qword [ebp + 0x58]
fld dword [esi*4 + 0x4a82f0]
fstp dword [esp + 0xc8]
shr eax, 0x10
movzx eax, al
fld dword [ecx*4 + 0x4a82f0]
fstp dword [esp + 0xcc]
mov ecx, dword [esp + 0xcc]
fld dword [eax*4 + 0x4a82f0]
mov eax, dword [esp + 0xc8]
mov dword [ebp + 0x78], edx
fstp dword [esp + 0xd0]
mov edx, dword [esp + 0xd0]
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x80], ecx
mov eax, ebp
mov dword [ebp + 0x84], edx
call fcn.00433f40
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
fld dword [ecx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x18]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea ecx, [edx + eax]
add eax, 4
mov dword [esp + 0x30], eax
fld dword [ecx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
fld dword [ecx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x20]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea ecx, [edx + eax]
add eax, 4
mov dword [esp + 0x30], eax
fld dword [ecx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
fld dword [ecx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x30]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea ecx, [edx + eax]
add eax, 4
mov dword [esp + 0x30], eax
fld dword [ecx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x24]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
fld dword [ecx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x28]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea ecx, [edx + eax]
add eax, 4
mov dword [esp + 0x30], eax
fld dword [ecx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
fld dword [ecx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x38]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
lea edi, [esi + eax]
inc eax
mov dword [esp + 0x30], eax
mov cl, byte [edi]
lea edi, [esi + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov edx, dword [edi]
add esi, eax
inc eax
mov dword [esp + 0x30], eax
mov al, byte [esi]
mov byte [ebp + 0x54], al
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
add esi, eax
add eax, 4
mov dword [esp + 0x30], eax
mov esi, dword [esi]
mov dword [ebp + 0x98], esi
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
add esi, eax
inc eax
mov dword [esp + 0x30], eax
mov al, byte [esi]
mov byte [ebp + 0x9c], al
test cl, cl
je 0x4054d0
fld1
mov eax, edx
fstp dword [esp + 0xac]
movzx esi, dl
shr eax, 8
movzx eax, al
fld dword [esi*4 + 0x4a82f0]
fstp dword [esp + 0xb0]
shr edx, 0x10
movzx ecx, dl
fld dword [eax*4 + 0x4a82f0]
fstp dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
fld dword [ecx*4 + 0x4a82f0]
mov ecx, dword [esp + 0xac]
mov dword [ebp + 0x68], ecx
fstp dword [esp + 0xb8]
mov ecx, dword [esp + 0xb8]
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x74], ecx
jmp 0x4054f3
mov edx, dword [0x4a8254]
mov dword [ebp + 0x68], edx
mov eax, dword [0x4a8258]
mov dword [ebp + 0x6c], eax
mov ecx, dword [0x4a825c]
mov dword [ebp + 0x70], ecx
mov edx, dword [0x4a8260]
mov dword [ebp + 0x74], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add eax, ecx
add ecx, 4
mov dword [esp + 0x30], ecx
mov ecx, dword [eax]
mov esi, ebp
mov dword [esp + 0x54], ecx
call fcn.00434190
test al, al
je 0x405553
mov edx, dword [esp + 0x160]
mov eax, dword [edx]
cmp dword [eax + 0x7f0], 0xffffffff
jne 0x405553
mov ecx, dword [eax + 0x888]
mov edx, dword [eax + 0x884]
push 0
push 1
push ecx
push edx
lea edi, [eax + 0x300]
call fcn.0044d610
mov ecx, dword [esp + 0x160]
mov edx, dword [ecx]
mov dword [edx + 0x7f0], eax
cmp dword [esp + 0x54], 0
jle 0x4057a1
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], eax
jmp 0x405570
lea ecx, [esp + 0x100]
push ecx
call fcn.00413710
mov byte [esp + 0x158], 0x4b
mov esi, dword [ebx]
mov edi, dword [esi + 0x110]
mov edx, dword [edi + 4]
add esi, 0x10c
push eax
push edx
push edi
call fcn.0040b3f0
mov ecx, esi
mov ebp, eax
call fcn.0040b4a0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov byte [esp + 0x158], 0x39
lea eax, [esp + 0x100]
push eax
call fcn.00405ab0
mov eax, dword [ebx]
mov ecx, dword [eax + 0x110]
mov ebp, dword [ecx + 4]
add eax, 0x10c
mov eax, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x24]
lea ecx, [edx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add ebp, 8
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
mov dword [ebp + 4], ecx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea ecx, [edx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
mov dword [ebp + 8], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
mov dword [ebp + 0xc], ecx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea ecx, [edx + eax]
add eax, 4
mov dword [esp + 0x30], eax
fld dword [ecx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
lea eax, [esp + 0x88]
call fcn.0040f220
mov edx, dword [eax]
mov dword [ebp + 0x28], edx
mov ecx, dword [eax + 4]
mov dword [ebp + 0x2c], ecx
mov edx, dword [eax + 8]
mov dword [ebp + 0x30], edx
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x34], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
lea edx, [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov edx, dword [edx]
lea esi, [ecx + eax]
add eax, 4
mov dword [esp + 0x30], eax
mov esi, dword [esi]
add ecx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x44]
mov dword [ebp + 0x14], edx
mov edx, dword [esp + 0x160]
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x38], ecx
mov dword [ebp + 0x18], esi
mov ecx, dword [edx]
mov edx, dword [ecx + 0xaf8]
mov eax, dword [edx + eax*4]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
lea eax, [edx + ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
test eax, eax
jle 0x405740
lea edi, [ebp + 0x3c]
mov dword [esp + 0x54], eax
lea ecx, [ecx]
lea ecx, [esp + 0x38]
call fcn.00414640
mov byte [esp + 0x158], 0x4c
lea eax, [esp + 0x38]
push eax
lea esi, [esp + 0x1c]
call fcn.00413c00
lea edx, [esp + 0x38]
call fcn.00409230
mov byte [esp + 0x158], 0x39
lea ecx, [esp + 0x38]
call fcn.004146a0
sub dword [esp + 0x54], 1
jne 0x405700
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea eax, [edx + ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov esi, dword [eax]
test esi, esi
jle 0x40577b
push esi
call fcn.00456ce8
mov dword [ebp + 0x20], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
add esp, 4
push esi
add edx, ecx
push edx
push eax
call fcn.00465dd0
add esp, 0xc
jmp 0x405782
mov dword [ebp + 0x20], 0
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x24], esi
add dword [esp + 0x30], esi
cmp dword [eax + 0x24], 0
jne 0x405796
mov dword [eax + 0x24], ebp
sub dword [esp + 0x58], 1
jne 0x405570
mov eax, dword [esp + 0x44]
inc eax
cmp eax, dword [esp + 0x70]
mov dword [esp + 0x44], eax
jl 0x4051cf
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add eax, ecx
add ecx, 4
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
xor ebp, ebp
mov dword [esp + 0x70], eax
test eax, eax
jle 0x40582e
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
lea eax, [edx + ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
lea esi, [eax + 0x7d0]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x60]
mov ecx, esi
call fcn.00408c10
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x40590c
mov edx, dword [ebx]
lea edi, [eax + 0x10]
add edx, 0x1a0
call fcn.00409000
inc ebp
cmp ebp, dword [esp + 0x70]
jl 0x4057d1
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add eax, ecx
add ecx, 4
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
mov ecx, dword [ebx]
mov dword [ecx + 0x1b0], eax
mov eax, dword [esp + 0x48]
inc eax
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
jl 0x404f24
mov ebx, dword [esp + 0x160]
xor esi, esi
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
add eax, 0x81c
push eax
mov ecx, ebx
call fcn.00405be0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov byte [esp + 0x158], 0
mov eax, dword [esp + 0xd8]
cmp eax, esi
je 0x4058a5
push eax
call fcn.00456cf3
add esp, 4
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], esi
mov dword [esp + 0x158], 0xffffffff
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], vtable.bin.0
cmp eax, esi
je 0x4058f1
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14c
ret 8
push 0x38
push str.Invalid_image_handle_referenced_in_layout__Davos_fault_
lea ecx, [esp + 0xec]
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x100], 0
mov byte [esp + 0xf0], 0
call fcn.00414d30
mov byte [esp + 0x158], 0x4d
lea edx, [esp + 0xe4]
push edx
lea eax, [esp + 0x104]
push eax
call fcn.00415340
push 0x4978fc
lea ecx, [esp + 0x104]
push ecx
call fcn.004637cb
fdiv qword [ecx]
inc eax
add bh, ch
xor dword [eax], eax
div dword [ecx]
inc eax
add byte [edx], cl
xor al, byte [eax]
adc dh, byte [edx]
inc eax
add byte [0xcc004032], ah
int3