Function at 0x438c40
Capabilities:
Check http status code
Check os version
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4461bc
mov eax, dword fs:[0]
push eax
sub esp, 0xa30
mov eax, dword [0x44eea4]
xor eax, esp
mov dword [esp + 0xa2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44eea4]
xor eax, esp
push eax
lea eax, [esp + 0xa44]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa58]
mov edx, dword [esp + 0xa5c]
mov esi, dword [esp + 0xa54]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa60]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0xa68]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
call fcn.00431bd0
mov eax, dword [0x44d774]
xor ebp, ebp
cmp eax, 1
jne 0x438e7a
mov ebx, dword [0x44d37c]
cmp ebx, ebp
jl 0x438d46
xor esi, esi
test ebx, ebx
jle 0x438d3e
lea edi, [ebp*4]
mov ecx, dword [esi*4 + 0x44d388]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi*4 + 0x44d468]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jge 0x438d1a
test ecx, ecx
jle 0x438d1a
mov eax, 1
sub ecx, eax
mov dword [edi + 0x44d5f8], eax
mov dword [edi + 0x44d650], ecx
jns 0x438d34
mov dword [edi + 0x44d650], 0
add esi, 1
add edi, 4
cmp esi, ebx
jl 0x438ce2
add ebp, ebx
cmp ebp, ebx
jle 0x438cd5
xor ebp, ebp
push 0x1f50
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0xa4c], ebp
je 0x438d72
push str.BATTLEMODE
push 0x40
mov ecx, eax
call fcn.0043ef50
jmp 0x438d74
xor eax, eax
or esi, 0xffffffff
push 0x1f50
mov dword [esp + 0xa50], esi
mov dword [0x451bb0], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0xa4c], 1
je 0x438db3
push str.BATTLETROOPS
push 0x40
mov ecx, eax
call fcn.0043ef50
jmp 0x438db5
xor eax, eax
mov edi, dword [0x44d37c]
xor ebp, ebp
xor edx, edx
cmp edi, ebp
mov dword [esp + 0xa4c], esi
mov dword [0x451bac], eax
jle 0x438e2a
mov ebx, dword [esp + 0x28]
jmp 0x438de0
mov eax, dword [ebx + 0x7d4]
xor ecx, ecx
cmp dword [eax + 0x4d82380], ebp
jle 0x438e23
mov esi, dword [edx*4 + 0x44d350]
jmp 0x438e00
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x6f4], esi
jne 0x438e12
mov dword [edx*4 + 0x451b38], eax
mov eax, dword [ebx + 0x7d4]
add ecx, 1
cmp ecx, dword [eax + 0x4d82380]
jl 0x438e00
add edx, 1
cmp edx, edi
jl 0x438de0
mov ecx, dword [0x451bb0]
mov esi, dword [esp + 0x24]
mov dword [ecx + 0x10], ebp
mov dword [ecx + 0x7e0], ebp
mov dword [ecx + 0x1780], 0x190
mov eax, 0x2c1
mov dword [ecx + 0xfb0], eax
mov dword [ecx + 0x14], ebp
mov dword [ecx + 0x7e4], 0x1d7
mov dword [ecx + 0xfb4], eax
mov dword [ecx + 0x1784], 0x10
mov dword [ecx + 0xc], 2
xor ebp, ebp
jmp 0x438e85
cmp eax, 0xffffffff
mov ecx, dword [0x451bb0]
jne 0x438ea5
mov dword [0x44d770], 6
mov dword [0x44d76c], 2
mov dword [0x451ba8], ebp
mov dword [0x44d774], ebp
mov eax, dword [esp + 0x1c]
mov dword [0x451b68], ebp
mov dword [0x451b64], ebp
mov dword [0x451b70], ebp
mov dword [0x451b6c], ebp
mov eax, dword [eax]
cmp eax, 0xc8
jle 0x438f0c
cmp eax, 0xd2
jge 0x438f13
push esi
push ebp
push ebp
push ebp
mov dword [0x44d768], 0x50
push 0x50
mov edx, dword [0x44d764]
push edx
call fcn.0043f100
mov eax, dword [0x44d768]
mov ecx, dword [0x44d764]
push esi
push ebp
push ebp
push 1
add eax, 0x190
push eax
push ecx
mov ecx, dword [0x451bb0]
jmp 0x438f44
cmp eax, 0xd2
jl 0x438f2c
cmp eax, 0xdc
jge 0x438f2c
push esi
push ebp
push ebp
push ebp
mov dword [0x44d768], 0x3c
push 0x3c
jmp 0x438ee1
mov edx, dword [0x44d764]
push esi
push ebp
push ebp
push 0xffffffffffffffff
push 0x21
mov dword [0x44d768], 0x21
push edx
call fcn.0043f100
mov eax, dword [0x44d764]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0xa64]
lea ecx, [eax + 0xb3]
add eax, 0x20e
mov dword [0x451ba4], eax
xor eax, eax
add edi, 0x194
mov dword [0x451ba0], ecx
mov dword [esp + 0x3c], edi
mov edx, edi
mov ebx, 0xffffffec
mov ecx, dword [esi + eax*4]
cmp ecx, 3
je 0x438f8f
cmp ecx, 0xd
jne 0x438faf
mov ecx, dword [edx]
mov ecx, dword [ecx + 0x364]
test ecx, ecx
jle 0x438faf
cmp ecx, 3
jge 0x438faf
mov ecx, dword [edx]
mov ecx, dword [ecx + 0x364]
add dword [ecx*4 + 0x451b9c], ebx
add eax, 1
add edx, 4
cmp eax, 8
jl 0x438f82
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xa6c]
sub ecx, eax
sub eax, esi
mov ebp, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x14], 0
mov ebx, esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
jmp 0x438fe7
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebx]
cmp eax, 3
je 0x438ff7
cmp eax, 0xd
jne 0x4390eb
mov edx, dword [ebp]
mov esi, dword [0x44d768]
mov eax, dword [edx + 0x364]
add esi, 0x56
test eax, eax
jle 0x43902b
cmp eax, 3
jge 0x43902b
mov eax, edx
mov eax, dword [eax + 0x364]
mov edi, dword [eax*4 + 0x451b9c]
lea edx, [edi + 0x28]
mov dword [eax*4 + 0x451b9c], edx
mov eax, dword [esp + 0x20]
add eax, ebx
cmp dword [eax + ecx], 0
je 0x439062
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
cmp ecx, 0xc8
jle 0x43904d
cmp ecx, 0xd2
jl 0x439062
mov edx, dword [0x455608]
mov ecx, dword [0x45116c]
push edx
push 0
push 0
push 1
jmp 0x439084
mov ecx, dword [0x455608]
mov edx, dword [eax]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [eax + 0x7d4]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx + 0x728]
push 0
push 0
push 0xffffffffffffffff
push esi
push edi
call fcn.0043f100
cmp dword [ebx], 3
mov byte [esp + 0x82d], 0
jne 0x4390a7
mov al, byte [esp + 0x14]
add al, 0x31
mov byte [esp + 0x82c], al
jmp 0x4390af
mov byte [esp + 0x82c], 0x43
mov ecx, dword [ebp]
add esi, 0x2d
cmp dword [ecx + 0x364], 1
mov ecx, dword [0x455608]
lea edx, [edi + 0xf]
push esi
lea eax, [esp + 0x830]
push edx
jne 0x4390d7
push 0xff9b4f
jmp 0x4390dc
push 0x4f4fff
push 0x8f472f
push eax
push ecx
call fcn.00401290
add esp, 0x18
mov eax, dword [esp + 0x14]
add eax, 1
add ebx, 4
add ebp, 4
cmp eax, 8
mov dword [esp + 0x14], eax
jl 0x438fe3
mov ebx, dword [sym.imp.MSVCR80.dll_sprintf]
xor edi, edi
mov esi, str.dd_n__
xor ebp, ebp
mov eax, dword [esi]
cdq
mov ecx, 0x64
idiv ecx
mov ecx, eax
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
lea ecx, [esp + 0x840]
push str.x__d._d
push ecx
call ebx
mov edx, dword [0x44d768]
mov eax, dword [0x44d764]
add edx, 0x9a
push edx
lea ecx, [edi + eax + 0xf0]
mov eax, dword [0x455608]
push ecx
push 0xffffff
push ebp
lea edx, [esp + 0x858]
push edx
push eax
call fcn.00401290
add esi, 4
add esp, 0x28
add edi, 0x15b
cmp esi, 0x44d760
jl 0x439114
mov eax, dword [0x44d764]
lea ecx, [eax + 0x27]
add eax, 0x182
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov ebp, dword [0x44d37c]
mov dword [0x451ba0], ecx
mov dword [0x451ba4], eax
nop
xor ebx, ebx
test ebp, ebp
jle 0x4393c1
mov dword [esp + 0x20], ebx
mov edi, edi
cmp ebx, 6
mov edi, dword [0x44d768]
jge 0x4391e2
mov edx, dword [esp + 0x18]
mov esi, dword [edx*4 + 0x451ba0]
add esi, dword [esp + 0x20]
add edi, 0xd7
jmp 0x4391fe
mov eax, dword [esp + 0x18]
mov ecx, dword [eax*4 + 0x451ba0]
mov edx, dword [esp + 0x20]
lea esi, [ecx + edx - 0x108]
add edi, 0x132
lea eax, [ebp - 1]
cmp ebx, eax
jne 0x439218
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [0x45116c]
push 0
push 0
push 0x16
jmp 0x43924b
add ebp, 0xfffffffe
cmp ebx, ebp
jne 0x439232
mov edx, dword [esp + 0x24]
mov ecx, dword [0x45116c]
push edx
push 0
push 0
push 0x17
jmp 0x43924b
mov eax, dword [0x455608]
mov ecx, dword [ebx*4 + 0x451b38]
mov ecx, dword [ecx + 0x728]
push eax
push 0
push 0
push 0xffffffffffffffff
push edi
push esi
call fcn.0043f100
push 0
push 0x10
push 0x22
lea ebp, [edi + 0x2e]
lea eax, [esi + 3]
push ebp
push eax
call fcn.00437040
push 0
push 0x10
push 0x22
add edi, 0x40
lea eax, [esi + 3]
push edi
push eax
call fcn.00437040
mov edx, dword [0x44d37c]
imul edx, dword [esp + 0x40]
add edx, ebx
mov eax, dword [edx*4 + 0x44d5f8]
add esp, 0x28
test eax, eax
jne 0x4392ff
push eax
lea eax, [esp + 0x824]
push 0x447b00
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
mov edx, dword [0x455608]
push ebp
add esi, 0xa
push esi
push 0x9a4d32
push 0
lea ecx, [esp + 0x83c]
push ecx
push edx
call fcn.00401290
lea eax, [esp + 0x844]
push 0x449d98
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
mov edx, dword [0x455608]
push edi
push esi
push 0x9a4d32
push 0
lea ecx, [esp + 0x85c]
push ecx
push edx
call fcn.00401290
add esp, 0x44
jmp 0x4393ab
push eax
lea eax, [esp + 0x824]
push 0x447b00
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
mov edx, dword [0x455608]
push ebp
add esi, 0xa
push esi
push 0xffffff
push 0
lea ecx, [esp + 0x83c]
push ecx
push edx
call fcn.00401290
mov eax, dword [0x44d37c]
mov ebp, dword [esp + 0x3c]
imul eax, ebp
add eax, ebx
mov ecx, dword [eax*4 + 0x44d650]
push ecx
lea edx, [esp + 0x848]
push 0x447b00
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
mov eax, dword [0x44d37c]
imul eax, ebp
add esp, 0x30
add eax, ebx
cmp dword [eax*4 + 0x44d650], 0
push edi
push esi
je 0x43938d
mov edx, dword [0x455608]
push 0xffffff
push 0
lea ecx, [esp + 0x830]
push ecx
push edx
jmp 0x4393a3
mov ecx, dword [0x455608]
push 0x9a4d32
push 0
lea eax, [esp + 0x830]
push eax
push ecx
call fcn.00401290
add esp, 0x18
mov ebp, dword [0x44d37c]
add dword [esp + 0x20], 0x30
add ebx, 1
cmp ebx, ebp
jl 0x4391c0
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx*4 + 0x44d380]
cmp eax, 0xffffffff
je 0x4394ad
test eax, eax
je 0x43946a
cmp eax, 6
je 0x43946a
mov edi, dword [esp + 0x24]
mov edx, dword [ebx*4 + 0x451b74]
mov ecx, dword [0x4511a0]
mov esi, dword [ecx + edx*4 + 0xfec]
mov ebp, dword [esp + 0x14]
push edi
push 0
push 1
lea edx, [eax + 0x12]
push edx
mov edx, dword [0x44d768]
add edx, 0xc0
push edx
mov edx, ebp
sub edx, dword [ecx + eax*4 + 0xff8]
mov eax, dword [0x44d764]
sub edx, esi
lea edx, [edx + eax + 0x159]
push edx
call fcn.0043f100
mov eax, dword [ebx*4 + 0x451b74]
mov ecx, dword [0x44d768]
mov edx, dword [0x44d764]
push edi
push 0
push 1
add eax, 0xf
add ecx, 0xc0
push eax
sub ebp, esi
push ecx
mov ecx, dword [0x4511a0]
lea eax, [edx + ebp + 0x159]
push eax
jmp 0x4394a2
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [0x44d768]
push 0
push 1
lea edx, [eax + 0x12]
push edx
mov edx, dword [esp + 0x24]
add ecx, 0xc0
push ecx
mov ecx, dword [0x4511a0]
sub edx, dword [ecx + eax*4 + 0xff8]
mov eax, dword [0x44d764]
lea edx, [edx + eax + 0x159]
push edx
call fcn.0043f100
mov ebp, dword [0x44d37c]
add dword [esp + 0x14], 0x15b
add ebx, 1
cmp ebx, 2
mov dword [esp + 0x18], ebx
jl 0x4391b0
mov esi, dword [esp + 0x1c]
cmp dword [esi], 0xc8
jne 0x43996a
cmp dword [0x4513a4], 0
mov edx, dword [0x44d770]
je 0x4394e9
sub edx, 1
jmp 0x4394f5
cmp dword [0x4513a8], 0
je 0x4394fb
add edx, 1
mov dword [0x44d770], edx
cmp edx, 6
jle 0x43950c
mov dword [0x44d770], 0
jmp 0x439525
test edx, edx
jge 0x43951f
mov dword [0x44d770], 6
jmp 0x4398be
jne 0x4395e1
mov ecx, dword [0x451ba8]
mov eax, dword [0x44d768]
imul ecx, ecx, 0x15b
mov edx, dword [0x44d764]
push 0xffffff
push 0x19
add eax, 0x96
push 0xd0
push eax
lea eax, [ecx + edx + 0x50]
push eax
call fcn.00438aa0
add esp, 0x14
cmp dword [0x4513b0], 0
jne 0x43956d
cmp dword [0x4513ac], 0
je 0x43957f
mov eax, 1
sub eax, dword [0x451ba8]
mov dword [0x451ba8], eax
jmp 0x439584
mov eax, dword [0x451ba8]
cmp dword [0x4513b4], 0
je 0x4395ad
add dword [eax*4 + str.dd_n__], 0x32
cmp dword [eax*4 + str.dd_n__], 0x12c
jle 0x4395ad
mov dword [eax*4 + str.dd_n__], 0x64
cmp dword [0x4513b8], 0
je 0x4395d3
add dword [eax*4 + str.dd_n__], 0xffffffce
cmp dword [eax*4 + str.dd_n__], 0x64
jge 0x4395d3
mov dword [eax*4 + str.dd_n__], 0x12c
mov ebp, dword [0x44d37c]
mov edx, dword [0x44d770]
jmp 0x4395e6
mov eax, dword [0x451ba8]
test edx, edx
jle 0x4397d1
cmp edx, 5
jge 0x4397d4
mov edi, dword [0x44d76c]
xor ecx, ecx
cmp edx, 2
setle cl
add ecx, 4
cmp dword [0x4513b0], 0
mov dword [esp + 0x18], ecx
je 0x439638
add edi, 1
cmp edi, ecx
mov dword [0x44d76c], edi
jle 0x439638
xor edi, edi
mov esi, 1
sub esi, eax
mov eax, esi
mov dword [0x44d76c], edi
mov dword [0x451ba8], eax
cmp dword [0x4513ac], 0
je 0x439668
cmp edi, ecx
jle 0x439647
mov edi, ecx
sub edi, 1
mov dword [0x44d76c], edi
jns 0x439668
mov edi, ecx
mov ecx, 1
sub ecx, eax
mov eax, ecx
mov dword [0x44d76c], edi
mov dword [0x451ba8], eax
mov ebx, dword [0x4513b4]
test ebx, ebx
jne 0x439686
cmp dword [0x4513b8], ebx
jne 0x439686
cmp dword [0x4513bc], ebx
je 0x43976e
or ecx, 0xffffffff
cmp edx, 1
mov dword [eax*4 + 0x44d380], ecx
mov dword [eax*4 + 0x451b74], ecx
jne 0x4396b1
mov ecx, eax
imul ecx, ebp
add ecx, edi
lea ecx, [ecx*4 + 0x44d5f8]
mov esi, 0xa
jmp 0x43972c
cmp edx, 2
jne 0x4396cb
mov ecx, eax
imul ecx, ebp
add ecx, edi
lea ecx, [ecx*4 + 0x44d650]
mov esi, 0x1e
jmp 0x43972c
cmp edx, 3
jne 0x4396f8
mov ecx, eax
imul ecx, ebp
cmp edi, 4
jge 0x4396ea
add ecx, edi
lea ecx, [ecx*4 + 0x44d610]
mov esi, 0xa
jmp 0x43972c
lea ecx, [ecx*4 + 0x44d620]
mov esi, 0xa
jmp 0x43972c
cmp edx, 4
jne 0x439724
mov ecx, eax
imul ecx, ebp
cmp edi, edx
jge 0x439716
add ecx, edi
lea ecx, [ecx*4 + 0x44d668]
mov esi, 0x1e
jmp 0x43972c
lea ecx, [ecx*4 + 0x44d678]
mov esi, 0x1e
jmp 0x43972c
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x34]
test ebx, ebx
je 0x439733
add dword [ecx], 1
cmp dword [0x4513bc], 0
je 0x43974e
add dword [ecx], 5
mov ebx, dword [ecx]
cmp ebx, esi
jle 0x43974e
lea ebp, [esi + 5]
cmp ebx, ebp
jge 0x43974e
mov dword [ecx], esi
cmp dword [0x4513b8], 0
je 0x43975a
add dword [ecx], 0xffffffff
mov ebx, dword [ecx]
test ebx, ebx
jge 0x439764
mov dword [ecx], esi
jmp 0x43976e
cmp ebx, esi
jle 0x43976e
mov dword [ecx], 0
mov esi, dword [esp + 0x18]
cmp edi, esi
mov ecx, edi
jle 0x43977a
mov ecx, esi
mov esi, dword [0x44d768]
imul eax, eax, 0x15b
add eax, dword [0x44d764]
push 0xffffff
lea ecx, [ecx + ecx*2]
push 0x10
shl ecx, 4
cmp edx, 3
push 0x22
lea edx, [edx + edx*8]
jge 0x4397b1
lea edx, [esi + edx*2 + 0xf3]
push edx
lea edx, [ecx + eax + 0x2a]
jmp 0x4397bd
lea edx, [esi + edx*2 + 0x12a]
push edx
lea edx, [ecx + eax + 0x42]
push edx
call fcn.00438aa0
mov eax, dword [0x451ba8]
mov edx, dword [0x44d770]
add esp, 0x14
cmp edx, 5
jne 0x4398b1
mov ecx, dword [0x44d768]
imul eax, eax, 0x15b
mov edx, dword [0x44d764]
push 0xffffff
push 0x19
push pe_nt_image_headers32
add ecx, 0x18c
push ecx
lea eax, [eax + edx + 0x2b]
push eax
call fcn.00438aa0
add esp, 0x14
cmp dword [0x4513b0], 0
jne 0x43981e
cmp dword [0x4513ac], 0
je 0x439830
mov eax, 1
sub eax, dword [0x451ba8]
mov dword [0x451ba8], eax
jmp 0x439835
mov eax, dword [0x451ba8]
cmp dword [0x4513b4], 0
je 0x4398ab
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0xd2
mov ecx, dword [0x44d37c]
add ecx, ecx
test ecx, ecx
mov dword [0x44d760], 0xa
mov dword [0x4513b4], 0
jle 0x439891
lea edx, [ecx*4]
mov ecx, edx
shr ecx, 2
mov esi, 0x44d650
mov edi, 0x44d5a0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
shr ecx, 2
mov esi, 0x44d5f8
mov edi, 0x44d548
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax*4 + 0x451b98]
mov ecx, dword [eax*4 + 0x451b90]
mov dword [0x451b8c], edx
mov dword [0x451b88], ecx
mov edx, dword [0x44d770]
cmp edx, 6
mov esi, dword [esp + 0x1c]
jne 0x43996f
mov edx, dword [0x44d768]
mov eax, dword [0x44d764]
push 0xffffff
push 0x18
push 0x6a
add edx, 0x1b9
push edx
add eax, 0x12d
push eax
call fcn.00438aa0
add esp, 0x14
cmp dword [0x4513b4], 0
je 0x439916
mov dword [esi], 0xca
push 0
mov ecx, 0x45560c
mov dword [0x451b84], 2
mov dword [0x4513b4], 0
call fcn.00401a30
cmp dword [0x4513ac], 0
je 0x43992f
sub dword [0x44d770], 1
xor eax, eax
mov dword [0x451ba8], eax
jmp 0x43994f
cmp dword [0x4513b0], 0
je 0x43994a
mov eax, 1
sub dword [0x44d770], eax
mov dword [0x451ba8], eax
jmp 0x43994f
mov eax, dword [0x451ba8]
cmp dword [0x4513b8], 0
je 0x43996f
mov ecx, dword [esp + 0x34]
mov dword [esi], 3
mov dword [ecx], 0
jmp 0x43996f
mov eax, dword [0x451ba8]
mov ecx, dword [esi]
cmp ecx, 0xc9
jne 0x439ac3
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov edi, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], 8
jmp 0x4399a0
mov eax, dword [esp + 0x2c]
cmp dword [edi + eax], 1
jne 0x439a8f
mov ecx, dword [ebx + 0x7d4]
mov ebp, dword [ecx + 0x4d82380]
mov eax, 1
cmp ebp, eax
mov dword [esp + 0x14], 0
jle 0x439a62
mov ebx, dword [esi]
lea edi, [ecx + 4]
xor ecx, ecx
cmp ebx, eax
jne 0x4399df
mov ecx, 1
cmp dword [esi + 4], eax
jne 0x4399e9
mov ecx, 1
cmp dword [esi + 8], eax
jne 0x4399f3
mov ecx, 1
cmp dword [esi + 0xc], eax
jne 0x4399fd
mov ecx, 1
cmp dword [esi + 0x10], eax
jne 0x439a07
mov ecx, 1
cmp dword [esi + 0x14], eax
jne 0x439a11
mov ecx, 1
cmp dword [esi + 0x18], eax
jne 0x439a1b
mov ecx, 1
cmp dword [esi + 0x1c], eax
jne 0x439a25
mov ecx, 1
mov edx, dword [edi]
cmp dword [edx + 0x6f8], 0
jne 0x439a4c
test ecx, ecx
jne 0x439a4c
cmp dword [edx + 0x6f4], 0x1e
jge 0x439a4c
mov ecx, dword [esp + 0x14]
mov dword [esp + ecx*4 + 0x50], eax
add ecx, 1
mov dword [esp + 0x14], ecx
add eax, 1
add edi, 4
cmp eax, ebp
jl 0x4399d4
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push ecx
push 0x122
call fcn.00417190
mov eax, dword [esp + eax*4 + 0x58]
mov ecx, dword [esp + 0x28]
mov dword [edi], eax
mov edx, dword [ebx + 0x7d4]
mov ecx, dword [ecx]
mov edx, dword [edx + eax*4]
add esp, 8
mov dword [ecx + 0x368], edx
add dword [esp + 0x20], 4
add edi, 4
sub dword [esp + 0x18], 1
mov dword [esp + 0x30], edi
jne 0x4399a0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov dword [eax], 0xca
mov dword [0x451b84], 2
jmp 0x43a093
cmp ecx, 0xd2
jl 0x43a07b
cmp ecx, 0xdc
jge 0x43a07b
mov esi, dword [esp + 0x24]
imul eax, eax, 0x113
mov ecx, dword [0x451bac]
push esi
xor ebp, ebp
push ebp
push ebp
push 0xffffffffffffffff
mov ebx, 0x19a
sub ebx, eax
push 0x41
push ebx
call fcn.0043f100
cmp dword [0x4513b8], ebp
mov edx, dword [0x451ba8]
je 0x439b67
mov eax, dword [0x44d37c]
add eax, eax
cmp eax, ebp
jle 0x439b44
add eax, eax
add eax, eax
mov ecx, eax
shr ecx, 2
mov esi, 0x44d5a0
mov edi, 0x44d650
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
shr ecx, 2
mov esi, 0x44d548
mov edi, 0x44d5f8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
mov ecx, dword [0x451b8c]
mov eax, dword [0x451b88]
mov dword [edx*4 + 0x451b98], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx*4 + 0x451b90], eax
mov dword [ecx], 0xc8
mov eax, dword [edx*4 + 0x451b98]
cmp eax, 0xffffffff
je 0x439b9a
imul eax, eax, 0x16
push 0xa7a7ff
push 0x13
push 0xa1
add eax, 0xa8
push eax
lea edx, [ebx + 0x2e]
push edx
call fcn.00438bd0
mov edx, dword [0x451ba8]
add esp, 0x14
mov eax, dword [edx*4 + 0x451b90]
cmp eax, 0xffffffff
je 0x439bc7
imul eax, eax, 0x16
push 0xa7a7ff
push 0x13
add eax, 0x130
push 0xa1
push eax
lea eax, [ebx + 0x2e]
push eax
call fcn.00438bd0
add esp, 0x14
mov eax, dword [0x44d760]
cmp eax, 9
ja 0x439f11
push 0xffffff
add ebx, 0x2c
cmp eax, 5
push 0x17
push 0xa5
jge 0x439dea
imul eax, eax, 0x16
add eax, 0x90
push eax
push ebx
call fcn.00438aa0
add esp, 0x14
cmp dword [0x4513b4], ebp
je 0x439ed1
mov edi, dword [0x44d760]
mov ebx, dword [0x44d37c]
mov ebp, dword [0x451ba8]
add edi, 0xffffffff
cmp edi, 2
ja 0x439d0b
cmp dword [ebp*4 + 0x451b90], 0xffffffff
mov dword [ebp*4 + 0x451b98], edi
jne 0x439c45
mov dword [ebp*4 + 0x451b90], 0
mov ecx, dword [ebp*4 + 0x451b90]
mov eax, ebp
imul ecx, ebx
add edi, 1
imul eax, ebx
test ebx, ebx
jle 0x439ceb
lea esi, [ecx*4]
lea ecx, [eax*4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
jmp 0x439c80
mov ecx, dword [esi + 0x44d388]
imul ecx, edi
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0x44d468]
imul edx, edi
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jge 0x439cbc
test ecx, ecx
jle 0x439cbc
mov eax, 1
mov edx, dword [esp + 0x2c]
sub ecx, eax
mov dword [edx + 0x44d5f8], eax
mov dword [edx + 0x44d650], ecx
jns 0x439cda
mov dword [edx + 0x44d650], 0
add edx, 4
add esi, 4
sub dword [esp + 0x30], 1
mov dword [esp + 0x2c], edx
jne 0x439c80
mov eax, dword [0x44d760]
add eax, 0xffffffff
mov dword [ebp*4 + 0x451b74], eax
mov eax, dword [ebp*4 + 0x451b90]
add eax, 1
mov dword [ebp*4 + 0x44d380], eax
mov eax, dword [0x44d760]
test eax, eax
jne 0x439d62
or eax, 0xffffffff
mov dword [ebp*4 + 0x451b98], eax
mov dword [ebp*4 + 0x451b90], eax
mov eax, ebp
imul eax, ebx
test ebx, ebx
jle 0x439d52
add ebx, ebx
add ebx, ebx
lea edi, [eax*4 + 0x44d650]
lea edx, [eax*4 + 0x44d5f8]
mov ecx, ebx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, ebx
shr ecx, 2
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp*4 + 0x44d380], 0
jmp 0x439ed1
cmp eax, 4
jne 0x439ed1
or eax, 0xffffffff
mov edx, ebp
imul edx, ebx
test ebx, ebx
mov dword [ebp*4 + 0x451b98], eax
mov dword [ebp*4 + 0x451b90], eax
jle 0x439db1
add ebx, ebx
add ebx, ebx
mov ecx, ebx
shr ecx, 2
mov eax, 0x1e
lea edi, [edx*4 + 0x44d650]
rep stosd dword es:[edi], eax
lea esi, [edx*4 + 0x44d5f8]
mov ecx, ebx
shr ecx, 2
mov eax, 2
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, 3
mov dword [edx*4 + 0x44d614], 1
mov dword [edx*4 + 0x44d66c], 0xf
mov dword [edx*4 + 0x44d61c], eax
mov dword [edx*4 + 0x44d620], eax
mov dword [ebp*4 + 0x44d380], 6
jmp 0x439ed1
imul eax, eax, 0x16
add eax, 0xc0
push eax
push ebx
call fcn.00438aa0
add esp, 0x14
cmp dword [0x4513b4], ebp
je 0x439ed1
mov eax, dword [0x451ba8]
cmp dword [eax*4 + 0x451b98], 0xffffffff
jne 0x439e1e
mov dword [eax*4 + 0x451b98], ebp
mov ecx, dword [0x44d760]
lea edx, [ecx - 4]
mov dword [eax*4 + 0x44d380], edx
mov edx, dword [eax*4 + 0x451b98]
add ecx, 0xfffffffb
mov dword [eax*4 + 0x451b74], edx
lea edi, [edx + 1]
mov edx, dword [0x44d37c]
mov dword [eax*4 + 0x451b90], ecx
imul eax, edx
imul ecx, edx
cmp edx, ebp
jle 0x439ed1
lea esi, [ecx*4]
lea ebx, [eax*4]
mov ebp, edx
lea esp, [esp]
mov ecx, dword [esi + 0x44d388]
imul ecx, edi
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0x44d468]
imul edx, edi
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jge 0x439eac
test ecx, ecx
jle 0x439eac
mov eax, 1
sub ecx, eax
mov dword [ebx + 0x44d5f8], eax
mov dword [ebx + 0x44d650], ecx
jns 0x439ec6
mov dword [ebx + 0x44d650], 0
add esi, 4
add ebx, 4
sub ebp, 1
jne 0x439e70
cmp dword [0x4513a4], 0
je 0x439ee1
sub dword [0x44d760], 1
cmp dword [0x4513a8], 0
je 0x439ef1
add dword [0x44d760], 1
cmp dword [0x44d760], 0
mov esi, dword [esp + 0x24]
jge 0x43a07f
mov dword [0x44d760], 0xa
jmp 0x43a07f
cmp eax, 0xa
jne 0x439fd0
push 0xffffff
push 0x18
push 0x53
push 0x1b1
add ebx, 0x16
push ebx
call fcn.00438aa0
add esp, 0x14
cmp dword [0x4513b0], ebp
je 0x439f43
add dword [0x44d760], 1
cmp dword [0x4513a4], ebp
je 0x439f52
sub dword [0x44d760], 1
cmp dword [0x4513a8], ebp
je 0x439f60
mov dword [0x44d760], ebp
cmp dword [0x4513b4], ebp
je 0x43a07f
mov eax, dword [esp + 0x1c]
mov dword [eax], 0xc8
xor edi, edi
cmp dword [0x4513b4], edi
jne 0x439f88
cmp dword [0x4513bc], edi
je 0x439f93
push edi
mov ecx, 0x45560c
call fcn.00401a30
cmp dword [0x4513b8], edi
je 0x439fa6
push edi
mov ecx, 0x455614
call fcn.00401a30
mov ecx, dword [esp + 0xa44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa2c]
xor ecx, esp
call fcn.004451a2
add esp, 0xa3c
ret 0x1c
cmp eax, 0xb
jne 0x43a07f
push 0xffffff
push 0x18
push 0x6a
push 0x1b1
add ebx, 0x7a
push ebx
call fcn.00438aa0
add esp, 0x14
cmp dword [0x4513a4], ebp
je 0x43a002
sub dword [0x44d760], 2
cmp dword [0x4513a8], ebp
je 0x43a010
mov dword [0x44d760], ebp
cmp dword [0x4513ac], ebp
je 0x43a01f
sub dword [0x44d760], 1
cmp dword [0x4513b4], ebp
je 0x43a07f
mov eax, dword [0x44d37c]
add eax, eax
cmp eax, ebp
jle 0x43a05e
add eax, eax
add eax, eax
mov ecx, eax
shr ecx, 2
mov esi, 0x44d5a0
mov edi, 0x44d650
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
shr ecx, 2
mov esi, 0x44d548
mov edi, 0x44d5f8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
xor ebp, ebp
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0xc8
push ebp
mov ecx, 0x455614
mov dword [0x4513b4], ebp
call fcn.00401a30
jmp 0x43a07f
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
cmp dword [edx], 0xca
jne 0x439f76
mov ebx, dword [esp + 0x28]
mov eax, dword [0x4513b0]
mov ecx, dword [0x4513ac]
mov edx, dword [esp + 0x38]
push esi
push eax
mov eax, dword [edx]
push ecx
push eax
call fcn.00402130
mov ecx, dword [0x451178]
add esp, 0x10
push esi
xor edi, edi
push edi
push edi
push 8
push 3
push 3
call fcn.0043f100
mov ecx, dword [0x451178]
push esi
push edi
mov ebp, 1
push ebp
push 0xf
push 0x9f
push 3
call fcn.0043f100
cmp dword [0x451b84], edi
jne 0x43a0fe
mov ecx, dword [0x451178]
push esi
push edi
push edi
push 9
push 0x10
push 0x5c
call fcn.0043f100
cmp dword [0x451b84], ebp
jne 0x43a11a
mov ecx, dword [0x451178]
push esi
push edi
push edi
push 0xa
push 0x27
push 0x40
call fcn.0043f100
cmp dword [0x451b84], 2
jne 0x43a137
mov ecx, dword [0x451178]
push esi
push edi
push edi
push 0xb
push 0x40
push 0x28
call fcn.0043f100
cmp dword [0x451b84], 3
jne 0x43a154
mov ecx, dword [0x451178]
push esi
push edi
push edi
push 0xc
push 0x57
push 0xf
call fcn.0043f100
cmp dword [0x451b84], 4
jne 0x43a171
mov ecx, dword [0x451178]
push esi
push edi
push edi
push 0xd
push 0x6f
push 0x25
call fcn.0043f100
cmp dword [0x451b84], 5
jne 0x43a191
mov ecx, dword [0x451178]
push esi
push edi
push edi
push 0xe
push 0x89
push 0x65
call fcn.0043f100
cmp dword [0x44d028], ebp
jne 0x43a1a5
mov eax, 0x64
mov dword [0x44d024], eax
jmp 0x43a1aa
mov eax, dword [0x44d024]
mov ecx, dword [ebx + 0x7d4]
imul eax, eax, 0x990
push 0x5b
push 0xae
push 0xff9b9b
lea edx, [eax + ecx + 0x4d4617c]
mov eax, dword [0x455608]
push edi
push edx
push eax
call fcn.00401290
mov eax, dword [0x450c30]
add esp, 0x18
cmp eax, 2
jne 0x43a1f7
push 0x73
push 0xae
push 0xff9b9b
push edi
push str.Easy
jmp 0x43a24b
cmp eax, ebp
jne 0x43a216
mov edx, dword [0x455608]
push 0x73
push 0xae
push 0xff9b9b
push edi
push str.Normal
push edx
jmp 0x43a252
cmp eax, edi
jne 0x43a234
mov eax, dword [0x455608]
push 0x73
push 0xae
push 0xff9b9b
push edi
push str.Difficult
push eax
jmp 0x43a252
cmp eax, 0xffffffff
jne 0x43a25a
push 0x73
push 0xae
push 0xff9b9b
push edi
push str.Difficult
mov ecx, dword [0x455608]
push ecx
call fcn.00401290
add esp, 0x18
cmp dword [0x4513a4], edi
je 0x43a27d
mov eax, dword [0x451b84]
sub eax, ebp
cmp eax, 0xffffffff
mov dword [0x451b84], eax
jne 0x43a27d
mov dword [0x451b84], 5
cmp dword [0x4513a8], edi
je 0x43a29b
mov eax, dword [0x451b84]
add eax, 1
cdq
mov ecx, 6
idiv ecx
mov dword [0x451b84], edx
cmp dword [0x4513b8], edi
je 0x43a2b2
mov edx, dword [esp + 0x1c]
mov dword [edx], 0xc8
jmp 0x439f78
cmp dword [0x4513b4], edi
je 0x439f80
mov edx, dword [0x44d37c]
add edx, edx
xor eax, eax
cmp edx, edi
jle 0x43a301
lea esp, [esp]
mov ecx, dword [eax*4 + 0x44d5f8]
cmp ecx, edi
jle 0x43a2ed
mov esi, dword [eax*4 + 0x44d650]
add esi, ecx
mov dword [eax*4 + 0x44d6a8], esi
jmp 0x43a2f4
mov dword [eax*4 + 0x44d6a8], edi
mov dword [eax*4 + 0x44d700], ecx
add eax, ebp
cmp eax, edx
jl 0x43a2d0
push edi
mov ecx, 0x455610
mov dword [0x4513b4], edi
call fcn.00401a30
mov eax, dword [0x451b84]
cmp eax, edi
jne 0x43a86e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
mov dword [0x450bb0], edi
mov dword [0x450bb4], edi
push ecx
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x4c]
movzx eax, word [esp + 0x4a]
movzx ecx, word [esp + 0x48]
mov esi, dword [sym.imp.MSVCR80.dll_sprintf]
push edx
movzx edx, word [esp + 0x4a]
push eax
movzx eax, word [esp + 0x4a]
push ecx
movzx ecx, word [esp + 0x4c]
push edx
push eax
push ecx
lea edx, [esp + 0x864]
push str._4d_02d_02d__02d_02d_02d_Battle
push edx
call esi
lea eax, [esp + 0x86c]
push eax
push 0x4499c0
push 0x44fd98
call esi
add esp, 0x2c
cmp dword [0x450be4], edi
mov dword [0x450b6c], edi
je 0x43a3a0
mov dword [0x450b70], ebp
push 0x190
lea ebp, [ebx + 4]
push edi
push ebp
mov dword [esp + 0x38], ebp
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [0x44d028], 1
jne 0x43a400
mov ecx, dword [ebx + 0x7d4]
mov edx, dword [ecx + 0x4d82384]
sub edx, 2
push edx
push 0x123
call fcn.00417190
mov dword [0x44d024], eax
mov ecx, dword [ebx + 0x7d4]
mov edx, dword [ecx + 0x4d82384]
sub edx, 3
add esp, 8
cmp eax, edx
jne 0x43a405
mov eax, 0x63
mov dword [0x44d024], eax
jmp 0x43a405
mov eax, dword [0x44d024]
mov dword [esp + 0x14], eax
mov eax, 0xa
lea ecx, [ebx + 0x198]
mov esi, 0x50
lea esp, [esp]
cmp byte [ebx + eax - 6], 0
je 0x43a438
mov edx, dword [ecx - 4]
cmp dword [edx + 0x364], edi
jne 0x43a438
mov dword [edx + 0x364], eax
cmp byte [ebx + eax - 5], 0
je 0x43a454
mov edx, dword [ecx]
cmp dword [edx + 0x364], edi
jne 0x43a454
lea edi, [eax + 1]
mov dword [edx + 0x364], edi
xor edi, edi
cmp byte [ebx + eax - 4], 0
je 0x43a471
mov edx, dword [ecx + 4]
cmp dword [edx + 0x364], edi
jne 0x43a471
lea edi, [eax + 2]
mov dword [edx + 0x364], edi
xor edi, edi
cmp byte [ebx + eax - 3], 0
je 0x43a48e
mov edx, dword [ecx + 8]
cmp dword [edx + 0x364], edi
jne 0x43a48e
lea edi, [eax + 3]
mov dword [edx + 0x364], edi
xor edi, edi
cmp byte [ebx + eax - 2], 0
je 0x43a4ab
mov edx, dword [ecx + 0xc]
cmp dword [edx + 0x364], edi
jne 0x43a4ab
lea edi, [eax + 4]
mov dword [edx + 0x364], edi
xor edi, edi
add ecx, 0x14
add eax, 5
sub esi, 1
jne 0x43a420
mov dword [0x450c24], edi
mov dword [0x450c20], edi
mov dword [0x450c1c], edi
mov dword [0x450c18], edi
mov dword [0x450c14], edi
mov dword [0x450c10], edi
mov dword [0x450c0c], edi
mov dword [0x450c08], edi
mov dword [0x450c04], edi
mov dword [0x450c28], edi
mov ecx, dword [ebx + 0x7d4]
xor esi, esi
cmp dword [ecx + 0x4d82384], edi
jle 0x43a51d
push esi
call fcn.0040c0f0
mov ecx, dword [ebx + 0x7d4]
add esi, 1
cmp esi, dword [ecx + 0x4d82384]
jl 0x43a506
mov eax, dword [0x44d024]
cmp eax, 0x63
je 0x43a533
mov ecx, dword [ebx + 0x7d4]
push eax
call fcn.0040c040
mov esi, dword [esp + 0x3c]
xor ecx, ecx
mov eax, 6
sub eax, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x34], eax
lea esp, [esp]
mov eax, dword [esp + 0xa64]
mov eax, dword [eax + ecx*4]
cmp eax, 0xa
jle 0x43a6a4
mov eax, dword [esi]
mov edi, dword [esi + 0x28]
mov ebx, dword [eax + 0x364]
mov ebp, dword [eax + 0x368]
mov ecx, edi
call fcn.004061e0
fld qword [0x4499b8]
mov dword [edi + 0x368], ebp
mov ecx, dword [ebp + 0x90]
fstp qword [edi + 0x58]
fldz
mov dword [edi + 0x31c], ecx
mov ecx, dword [esp + 0x20]
fstp qword [edi + 0x60]
fld qword [0x447920]
fstp qword [edi + 0x68]
mov edx, dword [esi + 0x28]
mov dword [edx + 0x364], ebx
mov eax, dword [esi + 0x28]
mov dword [eax + 0x344], ebx
mov ebx, dword [esp + 0x28]
mov byte [ebx + ecx + 0xe], 1
mov edx, dword [esi + 0x28]
mov dword [edx + 8], 0x4b
mov eax, dword [esi + 0x28]
cmp dword [eax + 0x364], 1
jne 0x43a5e2
mov dword [eax + 0x10], 0x64
jmp 0x43a5ff
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x7d4]
imul ecx, ecx, 0x990
mov ecx, dword [ecx + edx + 0x4d45db0]
sub ecx, 0x64
mov dword [eax + 0x10], ecx
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0x7d4]
imul edi, edi, 0x990
mov ecx, dword [edx + edi + 0x4d45db8]
sub ecx, dword [edx + edi + 0x4d45db4]
lea eax, [edx + edi]
push ecx
push 0x125
call fcn.00417190
mov edx, dword [ebx + 0x7d4]
add eax, dword [edx + edi + 0x4d45db4]
mov ecx, dword [esi + 0x28]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x28]
add esp, 8
fild dword [eax + 0x10]
fstp qword [eax + 0x58]
mov eax, dword [esi + 0x28]
fild dword [eax + 0x18]
fstp qword [eax + 0x68]
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x38]
mov dword [edx + 0x308], 0xc8
cmp dword [eax], 1
jne 0x43a676
mov ecx, dword [esi + 0x28]
mov dword [ecx + 0x308], 0x1f4
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x28]
add edx, eax
mov dword [ecx + 0x354], edx
mov eax, dword [esi + 0x28]
mov edx, dword [eax + 0x364]
mov ecx, dword [edx*4 + 0x44d754]
mov dword [eax + 0x340], ecx
jmp 0x43a7ea
cmp eax, edi
jle 0x43a7f0
mov edi, dword [esi]
mov ebx, dword [edi + 0x364]
mov ebp, dword [edi + 0x368]
mov ecx, edi
call fcn.004061e0
fld qword [0x4499b0]
mov dword [edi + 0x368], ebp
mov edx, dword [ebp + 0x90]
fstp qword [edi + 0x58]
fld qword [0x4499a8]
mov dword [edi + 0x31c], edx
mov edx, dword [esp + 0x18]
fstp qword [edi + 0x60]
fld qword [0x447920]
fstp qword [edi + 0x68]
mov eax, dword [esi]
mov dword [eax + 0x364], ebx
mov ecx, dword [esi]
mov dword [ecx + 0x344], ebx
mov ebx, dword [esp + 0x28]
mov byte [edx], 1
mov eax, dword [esi]
mov dword [eax + 8], 0x4b
mov eax, dword [esi]
cmp dword [eax + 0x364], 1
jne 0x43a726
mov dword [eax + 0x10], 0x64
jmp 0x43a743
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x7d4]
imul ecx, ecx, 0x990
mov ecx, dword [ecx + edx + 0x4d45db0]
sub ecx, 0x64
mov dword [eax + 0x10], ecx
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0x7d4]
imul edi, edi, 0x990
mov ecx, dword [edx + edi + 0x4d45db8]
sub ecx, dword [edx + edi + 0x4d45db4]
lea eax, [edx + edi]
push ecx
push 0x127
call fcn.00417190
mov edx, dword [ebx + 0x7d4]
add eax, dword [edx + edi + 0x4d45db4]
mov ecx, dword [esi]
mov dword [ecx + 0x18], eax
mov edx, dword [esi]
mov dword [edx + 0x14], 0
mov eax, dword [esi]
mov edx, dword [esp + 0x40]
fild dword [eax + 0x10]
add esp, 8
fstp qword [eax + 0x58]
mov eax, dword [esi]
fild dword [eax + 0x18]
fstp qword [eax + 0x68]
mov eax, dword [esi]
fldz
fstp qword [eax + 0x60]
mov ecx, dword [esi]
mov dword [ecx + 0x308], 0xc8
cmp dword [edx], 1
jne 0x43a7c5
mov eax, dword [esi]
mov dword [eax + 0x308], 0x1f4
mov ecx, dword [esi]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov dword [ecx + 0x354], edx
mov eax, dword [esi]
mov ecx, dword [eax + 0x364]
mov edx, dword [ecx*4 + 0x44d754]
mov dword [eax + 0x340], edx
mov ebp, dword [esp + 0x2c]
xor edi, edi
mov ecx, dword [esp + 0x20]
add dword [esp + 0x18], 1
add ecx, 1
add esi, 4
cmp ecx, 8
mov dword [esp + 0x20], ecx
jl 0x43a550
xor eax, eax
mov dword [0x44d034], 1
mov dword [0x450bbc], eax
mov dword [0x450bdc], eax
call fcn.004025b0
mov esi, 0x14
lea edi, [ebx + 0x1e4]
cmp byte [esi + ebp], 0
jne 0x43a83f
mov ecx, dword [edi]
call fcn.004061e0
add esi, 1
add edi, 4
cmp esi, 0x190
jl 0x43a832
mov ecx, ebx
call fcn.00431cd0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
push eax
push ebp
push edx
call fcn.0043d3c0
add esp, 0xc
jmp 0x439f76
cmp eax, ebp
jne 0x43a884
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov dword [eax], edi
mov dword [ecx], 3
jmp 0x43a8f0
cmp eax, 2
jne 0x43a898
mov edx, dword [esp + 0x1c]
mov dword [edx], 0xc9
jmp 0x439f78
cmp eax, 3
jne 0x43a905
push edi
mov ecx, 0x455610
call fcn.00401a30
mov eax, dword [0x44d024]
cmp eax, 0x64
mov dword [0x44d028], edi
jne 0x43a8c7
mov dword [0x44d024], 0x63
jmp 0x439f78
cmp eax, 0x63
jne 0x43a8d7
mov dword [0x44d024], edi
jmp 0x439f78
add eax, ebp
mov dword [0x44d024], eax
mov ecx, dword [ebx + 0x7d4]
cmp eax, dword [ecx + 0x4d82384]
jne 0x439f78
mov dword [0x44d024], 0x64
mov dword [0x44d028], ebp
jmp 0x439f78
cmp eax, 4
jne 0x43a92c
sub dword [0x450c30], ebp
jns 0x43a91c
mov dword [0x450c30], 2
push edi
mov ecx, 0x455610
call fcn.00401a30
jmp 0x439f78
cmp eax, 5
jne 0x439f78
mov edx, dword [esp + 0x1c]
mov ecx, ebx
mov dword [edx], 0xa
call fcn.00431cd0
mov dword [0x457580], edi
jmp 0x439f78