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

Disassembly:
push 0xffffffffffffffff
push 0x44619c
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.00431b70
mov eax, dword [0x44d774]
xor ebp, ebp
cmp eax, 1
jne 0x438d7a
mov ebx, dword [0x44d37c]
cmp ebx, ebp
jl 0x438c46
xor esi, esi
test ebx, ebx
jle 0x438c3e
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 0x438c1a
test ecx, ecx
jle 0x438c1a
mov eax, 1
sub ecx, eax
mov dword [edi + 0x44d5f8], eax
mov dword [edi + 0x44d650], ecx
jns 0x438c34
mov dword [edi + 0x44d650], 0
add esi, 1
add edi, 4
cmp esi, ebx
jl 0x438be2
add ebp, ebx
cmp ebp, ebx
jle 0x438bd5
xor ebp, ebp
push 0x1f50
call fcn.004450ac
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0xa4c], ebp
je 0x438c73
push ebp
push str.BATTLEMODE
push 0x40
mov ecx, eax
call fcn.0043ee50
jmp 0x438c75
xor eax, eax
or esi, 0xffffffff
push 0x1f50
mov dword [esp + 0xa50], esi
mov dword [0x451bb0], eax
call fcn.004450ac
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0xa4c], 1
je 0x438cb5
push ebp
push str.BATTLETROOPS
push 0x40
mov ecx, eax
call fcn.0043ee50
jmp 0x438cb7
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 0x438d2a
mov ebx, dword [esp + 0x28]
jmp 0x438ce0
mov eax, dword [ebx + 0x7d4]
xor ecx, ecx
cmp dword [eax + 0x4d82380], ebp
jle 0x438d23
mov esi, dword [edx*4 + 0x44d350]
jmp 0x438d00
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x6f4], esi
jne 0x438d12
mov dword [edx*4 + 0x451b38], eax
mov eax, dword [ebx + 0x7d4]
add ecx, 1
cmp ecx, dword [eax + 0x4d82380]
jl 0x438d00
add edx, 1
cmp edx, edi
jl 0x438ce0
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 0x438d85
cmp eax, 0xffffffff
mov ecx, dword [0x451bb0]
jne 0x438da5
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 0x438e0c
cmp eax, 0xd2
jge 0x438e13
push esi
push ebp
push ebp
push ebp
mov dword [0x44d768], 0x50
push 0x50
mov edx, dword [0x44d764]
push edx
call fcn.0043f010
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 0x438e44
cmp eax, 0xd2
jl 0x438e2c
cmp eax, 0xdc
jge 0x438e2c
push esi
push ebp
push ebp
push ebp
mov dword [0x44d768], 0x3c
push 0x3c
jmp 0x438de1
mov edx, dword [0x44d764]
push esi
push ebp
push ebp
push 0xffffffffffffffff
push 0x21
mov dword [0x44d768], 0x21
push edx
call fcn.0043f010
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
lea ebx, [eax - 0x14]
mov ecx, dword [esi + eax*4]
cmp ecx, 3
je 0x438e8d
cmp ecx, 0xd
jne 0x438ead
mov ecx, dword [edx]
mov ecx, dword [ecx + 0x364]
test ecx, ecx
jle 0x438ead
cmp ecx, 3
jge 0x438ead
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 0x438e80
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 0x438ee5
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebx]
cmp eax, 3
je 0x438ef5
cmp eax, 0xd
jne 0x438fe9
mov edx, dword [ebp]
mov esi, dword [0x44d768]
mov eax, dword [edx + 0x364]
add esi, 0x56
test eax, eax
jle 0x438f29
cmp eax, 3
jge 0x438f29
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 0x438f60
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
cmp ecx, 0xc8
jle 0x438f4b
cmp ecx, 0xd2
jl 0x438f60
mov edx, dword [0x455608]
mov ecx, dword [0x45116c]
push edx
push 0
push 0
push 1
jmp 0x438f82
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.0043f010
cmp dword [ebx], 3
mov byte [esp + 0x82d], 0
jne 0x438fa5
mov al, byte [esp + 0x14]
add al, 0x31
mov byte [esp + 0x82c], al
jmp 0x438fad
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 0x438fd5
push 0xff9b4f
jmp 0x438fda
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 0x438ee1
mov ebx, dword [0x447174]
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 0x439012
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
lea ecx, [ecx]
xor ebx, ebx
test ebp, ebp
jle 0x4392c1
mov dword [esp + 0x20], ebx
mov edi, edi
cmp ebx, 6
mov edi, dword [0x44d768]
jge 0x4390e2
mov edx, dword [esp + 0x18]
mov esi, dword [edx*4 + 0x451ba0]
add esi, dword [esp + 0x20]
add edi, 0xd7
jmp 0x4390fe
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 0x439118
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [0x45116c]
push 0
push 0
push 0x16
jmp 0x43914b
add ebp, 0xfffffffe
cmp ebx, ebp
jne 0x439132
mov edx, dword [esp + 0x24]
mov ecx, dword [0x45116c]
push edx
push 0
push 0
push 0x17
jmp 0x43914b
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.0043f010
push 0
push 0x10
push 0x22
lea ebp, [edi + 0x2e]
lea eax, [esi + 3]
push ebp
push eax
call fcn.00415160
push 0
push 0x10
push 0x22
add edi, 0x40
lea eax, [esi + 3]
push edi
push eax
call fcn.00415160
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 0x4391ff
push eax
lea eax, [esp + 0x824]
push 0x447b08
push eax
call dword [0x447174]
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 0x449db0
push eax
call dword [0x447174]
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 0x4392ab
push eax
lea eax, [esp + 0x824]
push 0x447b08
push eax
call dword [0x447174]
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 0x447b08
push edx
call dword [0x447174]
mov eax, dword [0x44d37c]
imul eax, ebp
add esp, 0x30
add eax, ebx
cmp dword [eax*4 + 0x44d650], 0
push edi
push esi
je 0x43928d
mov edx, dword [0x455608]
push 0xffffff
push 0
lea ecx, [esp + 0x830]
push ecx
push edx
jmp 0x4392a3
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 0x4390c0
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx*4 + 0x44d380]
cmp eax, 0xffffffff
je 0x4393ad
test eax, eax
je 0x43936a
cmp eax, 6
je 0x43936a
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.0043f010
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 0x4393a2
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.0043f010
mov ebp, dword [0x44d37c]
add dword [esp + 0x14], 0x15b
add ebx, 1
cmp ebx, 2
mov dword [esp + 0x18], ebx
jl 0x4390b0
mov esi, dword [esp + 0x1c]
cmp dword [esi], 0xc8
jne 0x439865
cmp dword [0x4513a4], 0
mov edx, dword [0x44d770]
je 0x4393e9
sub edx, 1
jmp 0x4393f5
cmp dword [0x4513a8], 0
je 0x4393fb
add edx, 1
mov dword [0x44d770], edx
cmp edx, 6
jle 0x43940c
mov dword [0x44d770], 0
jmp 0x439425
test edx, edx
jge 0x43941f
mov dword [0x44d770], 6
jmp 0x4397b9
jne 0x4394e1
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.004389a0
add esp, 0x14
cmp dword [0x4513b0], 0
jne 0x43946d
cmp dword [0x4513ac], 0
je 0x43947f
mov eax, 1
sub eax, dword [0x451ba8]
mov dword [0x451ba8], eax
jmp 0x439484
mov eax, dword [0x451ba8]
cmp dword [0x4513b4], 0
je 0x4394ad
add dword [eax*4 + str.dd_n__], 0x32
cmp dword [eax*4 + str.dd_n__], 0x12c
jle 0x4394ad
mov dword [eax*4 + str.dd_n__], 0x64
cmp dword [0x4513b8], 0
je 0x4394d3
add dword [eax*4 + str.dd_n__], 0xffffffce
cmp dword [eax*4 + str.dd_n__], 0x64
jge 0x4394d3
mov dword [eax*4 + str.dd_n__], 0x12c
mov ebp, dword [0x44d37c]
mov edx, dword [0x44d770]
jmp 0x4394e6
mov eax, dword [0x451ba8]
test edx, edx
jle 0x4396cc
cmp edx, 5
jge 0x4396cf
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 0x439538
add edi, 1
cmp edi, ecx
mov dword [0x44d76c], edi
jle 0x439538
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 0x439568
cmp edi, ecx
jle 0x439547
mov edi, ecx
sub edi, 1
mov dword [0x44d76c], edi
jns 0x439568
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 0x439586
cmp dword [0x4513b8], ebx
jne 0x439586
cmp dword [0x4513bc], ebx
je 0x439669
or ecx, 0xffffffff
cmp edx, 1
mov dword [eax*4 + 0x44d380], ecx
mov dword [eax*4 + 0x451b74], ecx
jne 0x4395b2
mov ecx, eax
imul ecx, ebp
add ecx, edi
lea ecx, [ecx*4 + 0x44d5f8]
lea esi, [edx + 9]
jmp 0x439627
cmp edx, 2
jne 0x4395ca
mov ecx, eax
imul ecx, ebp
add ecx, edi
lea ecx, [ecx*4 + 0x44d650]
lea esi, [edx + 0x1c]
jmp 0x439627
cmp edx, 3
jne 0x4395f5
mov ecx, eax
imul ecx, ebp
cmp edi, 4
jge 0x4395e7
add ecx, edi
lea ecx, [ecx*4 + 0x44d610]
lea esi, [edx + 7]
jmp 0x439627
lea ecx, [ecx*4 + 0x44d620]
mov esi, 0xa
jmp 0x439627
cmp edx, 4
jne 0x43961f
mov ecx, eax
imul ecx, ebp
cmp edi, edx
jge 0x439611
add ecx, edi
lea ecx, [ecx*4 + 0x44d668]
lea esi, [edx + 0x1a]
jmp 0x439627
lea ecx, [ecx*4 + 0x44d678]
mov esi, 0x1e
jmp 0x439627
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x34]
test ebx, ebx
je 0x43962e
add dword [ecx], 1
cmp dword [0x4513bc], 0
je 0x439649
add dword [ecx], 5
mov ebx, dword [ecx]
cmp ebx, esi
jle 0x439649
lea ebp, [esi + 5]
cmp ebx, ebp
jge 0x439649
mov dword [ecx], esi
cmp dword [0x4513b8], 0
je 0x439655
add dword [ecx], 0xffffffff
mov ebx, dword [ecx]
test ebx, ebx
jge 0x43965f
mov dword [ecx], esi
jmp 0x439669
cmp ebx, esi
jle 0x439669
mov dword [ecx], 0
mov esi, dword [esp + 0x18]
cmp edi, esi
mov ecx, edi
jle 0x439675
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 0x4396ac
lea edx, [esi + edx*2 + 0xf3]
push edx
lea edx, [ecx + eax + 0x2a]
jmp 0x4396b8
lea edx, [esi + edx*2 + 0x12a]
push edx
lea edx, [ecx + eax + 0x42]
push edx
call fcn.004389a0
mov eax, dword [0x451ba8]
mov edx, dword [0x44d770]
add esp, 0x14
cmp edx, 5
jne 0x4397ac
mov ecx, dword [0x44d768]
imul eax, eax, 0x15b
mov edx, dword [0x44d764]
push 0xffffff
push 0x19
push 0x110
add ecx, 0x18c
push ecx
lea eax, [eax + edx + 0x2b]
push eax
call fcn.004389a0
add esp, 0x14
cmp dword [0x4513b0], 0
jne 0x439719
cmp dword [0x4513ac], 0
je 0x43972b
mov eax, 1
sub eax, dword [0x451ba8]
mov dword [0x451ba8], eax
jmp 0x439730
mov eax, dword [0x451ba8]
cmp dword [0x4513b4], 0
je 0x4397a6
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 0x43978c
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 0x43986a
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.004389a0
add esp, 0x14
cmp dword [0x4513b4], 0
je 0x439811
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 0x43982a
sub dword [0x44d770], 1
xor eax, eax
mov dword [0x451ba8], eax
jmp 0x43984a
cmp dword [0x4513b0], 0
je 0x439845
mov eax, 1
sub dword [0x44d770], eax
mov dword [0x451ba8], eax
jmp 0x43984a
mov eax, dword [0x451ba8]
cmp dword [0x4513b8], 0
je 0x43986a
mov ecx, dword [esp + 0x34]
mov dword [esi], 3
mov dword [ecx], 0
jmp 0x43986a
mov eax, dword [0x451ba8]
mov ecx, dword [esi]
cmp ecx, 0xc9
jne 0x4399c3
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 0x4398a0
mov eax, dword [esp + 0x2c]
cmp dword [edi + eax], 1
jne 0x43998f
mov ecx, dword [ebx + 0x7d4]
mov ebp, dword [ecx + 0x4d82380]
mov eax, 1
cmp ebp, eax
mov dword [esp + 0x14], 0
jle 0x439962
mov ebx, dword [esi]
lea edi, [ecx + 4]
xor ecx, ecx
cmp ebx, eax
jne 0x4398df
mov ecx, 1
cmp dword [esi + 4], eax
jne 0x4398e9
mov ecx, 1
cmp dword [esi + 8], eax
jne 0x4398f3
mov ecx, 1
cmp dword [esi + 0xc], eax
jne 0x4398fd
mov ecx, 1
cmp dword [esi + 0x10], eax
jne 0x439907
mov ecx, 1
cmp dword [esi + 0x14], eax
jne 0x439911
mov ecx, 1
cmp dword [esi + 0x18], eax
jne 0x43991b
mov ecx, 1
cmp dword [esi + 0x1c], eax
jne 0x439925
mov ecx, 1
mov edx, dword [edi]
cmp dword [edx + 0x6f8], 0
jne 0x43994c
test ecx, ecx
jne 0x43994c
cmp dword [edx + 0x6f4], 0x1e
jge 0x43994c
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 0x4398d4
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push ecx
push 0x122
call fcn.00417170
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 0x4398a0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov dword [eax], 0xca
mov dword [0x451b84], 2
jmp 0x439f93
cmp ecx, 0xd2
jl 0x439f7b
cmp ecx, 0xdc
jge 0x439f7b
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.0043f010
cmp dword [0x4513b8], ebp
mov edx, dword [0x451ba8]
je 0x439a67
mov eax, dword [0x44d37c]
add eax, eax
cmp eax, ebp
jle 0x439a44
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 0x439a9a
imul eax, eax, 0x16
push 0xa7a7ff
push 0x13
push 0xa1
add eax, 0xa8
push eax
lea edx, [ebx + 0x2e]
push edx
call fcn.00438ad0
mov edx, dword [0x451ba8]
add esp, 0x14
mov eax, dword [edx*4 + 0x451b90]
cmp eax, 0xffffffff
je 0x439ac7
imul eax, eax, 0x16
push 0xa7a7ff
push 0x13
add eax, 0x130
push 0xa1
push eax
lea eax, [ebx + 0x2e]
push eax
call fcn.00438ad0
add esp, 0x14
mov eax, dword [0x44d760]
cmp eax, 9
ja 0x439e11
push 0xffffff
add ebx, 0x2c
cmp eax, 5
push 0x17
push 0xa5
jge 0x439cea
imul eax, eax, 0x16
add eax, 0x90
push eax
push ebx
call fcn.004389a0
add esp, 0x14
cmp dword [0x4513b4], ebp
je 0x439dd1
mov edi, dword [0x44d760]
mov ebx, dword [0x44d37c]
mov ebp, dword [0x451ba8]
add edi, 0xffffffff
cmp edi, 2
ja 0x439c0b
cmp dword [ebp*4 + 0x451b90], 0xffffffff
mov dword [ebp*4 + 0x451b98], edi
jne 0x439b45
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 0x439beb
lea esi, [ecx*4]
lea ecx, [eax*4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
jmp 0x439b80
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 0x439bbc
test ecx, ecx
jle 0x439bbc
mov eax, 1
mov edx, dword [esp + 0x2c]
sub ecx, eax
mov dword [edx + 0x44d5f8], eax
mov dword [edx + 0x44d650], ecx
jns 0x439bda
mov dword [edx + 0x44d650], 0
add edx, 4
add esi, 4
sub dword [esp + 0x30], 1
mov dword [esp + 0x2c], edx
jne 0x439b80
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 0x439c62
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 0x439c52
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 0x439dd1
cmp eax, 4
jne 0x439dd1
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 0x439cb1
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 0x439dd1
imul eax, eax, 0x16
add eax, 0xc0
push eax
push ebx
call fcn.004389a0
add esp, 0x14
cmp dword [0x4513b4], ebp
je 0x439dd1
mov eax, dword [0x451ba8]
cmp dword [eax*4 + 0x451b98], 0xffffffff
jne 0x439d1e
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 0x439dd1
lea esi, [ecx*4]
lea ebx, [eax*4]
mov ebp, edx
lea ecx, [ecx]
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 0x439dac
test ecx, ecx
jle 0x439dac
mov eax, 1
sub ecx, eax
mov dword [ebx + 0x44d5f8], eax
mov dword [ebx + 0x44d650], ecx
jns 0x439dc6
mov dword [ebx + 0x44d650], 0
add esi, 4
add ebx, 4
sub ebp, 1
jne 0x439d70
cmp dword [0x4513a4], 0
je 0x439de1
sub dword [0x44d760], 1
cmp dword [0x4513a8], 0
je 0x439df1
add dword [0x44d760], 1
cmp dword [0x44d760], 0
mov esi, dword [esp + 0x24]
jge 0x439f7f
mov dword [0x44d760], 0xa
jmp 0x439f7f
cmp eax, 0xa
jne 0x439ed0
push 0xffffff
push 0x18
push 0x53
push 0x1b1
add ebx, 0x16
push ebx
call fcn.004389a0
add esp, 0x14
cmp dword [0x4513b0], ebp
je 0x439e43
add dword [0x44d760], 1
cmp dword [0x4513a4], ebp
je 0x439e52
sub dword [0x44d760], 1
cmp dword [0x4513a8], ebp
je 0x439e60
mov dword [0x44d760], ebp
cmp dword [0x4513b4], ebp
je 0x439f7f
mov eax, dword [esp + 0x1c]
mov dword [eax], 0xc8
xor edi, edi
cmp dword [0x4513b4], edi
jne 0x439e88
cmp dword [0x4513bc], edi
je 0x439e93
push edi
mov ecx, 0x45560c
call fcn.00401a30
cmp dword [0x4513b8], edi
je 0x439ea6
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.004450b2
add esp, 0xa3c
ret 0x1c
cmp eax, 0xb
jne 0x439f7f
push 0xffffff
push 0x18
push 0x6a
push 0x1b1
add ebx, 0x7a
push ebx
call fcn.004389a0
add esp, 0x14
cmp dword [0x4513a4], ebp
je 0x439f02
sub dword [0x44d760], 2
cmp dword [0x4513a8], ebp
je 0x439f10
mov dword [0x44d760], ebp
cmp dword [0x4513ac], ebp
je 0x439f1f
sub dword [0x44d760], 1
cmp dword [0x4513b4], ebp
je 0x439f7f
mov eax, dword [0x44d37c]
add eax, eax
cmp eax, ebp
jle 0x439f5e
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 0x439f7f
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
cmp dword [edx], 0xca
jne 0x439e76
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.0043f010
mov ecx, dword [0x451178]
push esi
push edi
mov ebp, 1
push ebp
push 0xf
push 0x9f
push 3
call fcn.0043f010
cmp dword [0x451b84], edi
jne 0x439ffe
mov ecx, dword [0x451178]
push esi
push edi
push edi
push 9
push 0x10
push 0x5c
call fcn.0043f010
cmp dword [0x451b84], ebp
jne 0x43a01a
mov ecx, dword [0x451178]
push esi
push edi
push edi
push 0xa
push 0x27
push 0x40
call fcn.0043f010
cmp dword [0x451b84], 2
jne 0x43a037
mov ecx, dword [0x451178]
push esi
push edi
push edi
push 0xb
push 0x40
push 0x28
call fcn.0043f010
cmp dword [0x451b84], 3
jne 0x43a054
mov ecx, dword [0x451178]
push esi
push edi
push edi
push 0xc
push 0x57
push 0xf
call fcn.0043f010
cmp dword [0x451b84], 4
jne 0x43a071
mov ecx, dword [0x451178]
push esi
push edi
push edi
push 0xd
push 0x6f
push 0x25
call fcn.0043f010
cmp dword [0x451b84], 5
jne 0x43a091
mov ecx, dword [0x451178]
push esi
push edi
push edi
push 0xe
push 0x89
push 0x65
call fcn.0043f010
cmp dword [0x44d028], ebp
jne 0x43a0a5
mov eax, 0x64
mov dword [0x44d024], eax
jmp 0x43a0aa
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 0x43a0f7
push 0x73
push 0xae
push 0xff9b9b
push edi
push str.Easy
jmp 0x43a14b
cmp eax, ebp
jne 0x43a116
mov edx, dword [0x455608]
push 0x73
push 0xae
push 0xff9b9b
push edi
push str.Normal
push edx
jmp 0x43a152
cmp eax, edi
jne 0x43a134
mov eax, dword [0x455608]
push 0x73
push 0xae
push 0xff9b9b
push edi
push str.Difficult
push eax
jmp 0x43a152
cmp eax, 0xffffffff
jne 0x43a15a
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 0x43a17d
mov eax, dword [0x451b84]
sub eax, ebp
cmp eax, 0xffffffff
mov dword [0x451b84], eax
jne 0x43a17d
mov dword [0x451b84], 5
cmp dword [0x4513a8], edi
je 0x43a19b
mov eax, dword [0x451b84]
add eax, 1
cdq
mov ecx, 6
idiv ecx
mov dword [0x451b84], edx
cmp dword [0x4513b8], edi
je 0x43a1b2
mov edx, dword [esp + 0x1c]
mov dword [edx], 0xc8
jmp 0x439e78
cmp dword [0x4513b4], edi
je 0x439e80
mov edx, dword [0x44d37c]
add edx, edx
xor eax, eax
cmp edx, edi
jle 0x43a201
lea esp, [esp]
mov ecx, dword [eax*4 + 0x44d5f8]
cmp ecx, edi
jle 0x43a1ed
mov esi, dword [eax*4 + 0x44d650]
add esi, ecx
mov dword [eax*4 + 0x44d6a8], esi
jmp 0x43a1f4
mov dword [eax*4 + 0x44d6a8], edi
mov dword [eax*4 + 0x44d700], ecx
add eax, ebp
cmp eax, edx
jl 0x43a1d0
push edi
mov ecx, 0x455610
mov dword [0x4513b4], edi
call fcn.00401a30
mov eax, dword [0x451b84]
cmp eax, edi
jne 0x43a76e
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 [0x4470a4]
movzx edx, word [esp + 0x4c]
movzx eax, word [esp + 0x4a]
movzx ecx, word [esp + 0x48]
mov esi, dword [0x447174]
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 0x4499d8
push 0x44fd98
call esi
add esp, 0x2c
cmp dword [0x450be4], edi
mov dword [0x450b6c], edi
je 0x43a2a0
mov dword [0x450b70], ebp
push 0x190
lea ebp, [ebx + 4]
push edi
push ebp
mov dword [esp + 0x38], ebp
call fcn.004450a0
add esp, 0xc
cmp dword [0x44d028], 1
jne 0x43a300
mov ecx, dword [ebx + 0x7d4]
mov edx, dword [ecx + 0x4d82384]
sub edx, 2
push edx
push 0x123
call fcn.00417170
mov dword [0x44d024], eax
mov ecx, dword [ebx + 0x7d4]
mov edx, dword [ecx + 0x4d82384]
sub edx, 3
add esp, 8
cmp eax, edx
jne 0x43a305
mov eax, 0x63
mov dword [0x44d024], eax
jmp 0x43a305
mov eax, dword [0x44d024]
mov dword [esp + 0x14], eax
mov eax, 0xa
lea ecx, [ebx + 0x198]
lea esi, [eax + 0x46]
cmp byte [ebx + eax - 6], 0
je 0x43a32f
mov edx, dword [ecx - 4]
cmp dword [edx + 0x364], edi
jne 0x43a32f
mov dword [edx + 0x364], eax
cmp byte [ebx + eax - 5], 0
je 0x43a34b
mov edx, dword [ecx]
cmp dword [edx + 0x364], edi
jne 0x43a34b
lea edi, [eax + 1]
mov dword [edx + 0x364], edi
xor edi, edi
cmp byte [ebx + eax - 4], 0
je 0x43a368
mov edx, dword [ecx + 4]
cmp dword [edx + 0x364], edi
jne 0x43a368
lea edi, [eax + 2]
mov dword [edx + 0x364], edi
xor edi, edi
cmp byte [ebx + eax - 3], 0
je 0x43a385
mov edx, dword [ecx + 8]
cmp dword [edx + 0x364], edi
jne 0x43a385
lea edi, [eax + 3]
mov dword [edx + 0x364], edi
xor edi, edi
cmp byte [ebx + eax - 2], 0
je 0x43a3a2
mov edx, dword [ecx + 0xc]
cmp dword [edx + 0x364], edi
jne 0x43a3a2
lea edi, [eax + 4]
mov dword [edx + 0x364], edi
xor edi, edi
add ecx, 0x14
add eax, 5
sub esi, 1
jne 0x43a317
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]
cmp dword [ecx + 0x4d82384], edi
jle 0x43a417
jmp 0x43a400
push esi
call fcn.0040c0e0
mov ecx, dword [ebx + 0x7d4]
add esi, 1
cmp esi, dword [ecx + 0x4d82384]
jl 0x43a400
mov eax, dword [0x44d024]
cmp eax, 0x63
je 0x43a42d
mov ecx, dword [ebx + 0x7d4]
push eax
call fcn.0040c030
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
jmp 0x43a450
mov eax, dword [esp + 0xa64]
mov eax, dword [eax + ecx*4]
cmp eax, 0xa
jle 0x43a5a4
mov eax, dword [esi]
mov edi, dword [esi + 0x28]
mov ebx, dword [eax + 0x364]
mov ebp, dword [eax + 0x368]
mov ecx, edi
call fcn.004061d0
fld qword [0x4499d0]
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 [0x447928]
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 0x43a4e2
mov dword [eax + 0x10], 0x64
jmp 0x43a4ff
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.00417170
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 0x43a576
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 0x43a6ea
cmp eax, edi
jle 0x43a6f0
mov edi, dword [esi]
mov ebx, dword [edi + 0x364]
mov ebp, dword [edi + 0x368]
mov ecx, edi
call fcn.004061d0
fld qword [0x4499c8]
mov dword [edi + 0x368], ebp
mov edx, dword [ebp + 0x90]
fstp qword [edi + 0x58]
fld qword [0x4499c0]
mov dword [edi + 0x31c], edx
mov edx, dword [esp + 0x18]
fstp qword [edi + 0x60]
fld qword [0x447928]
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 0x43a626
mov dword [eax + 0x10], 0x64
jmp 0x43a643
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.00417170
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 0x43a6c5
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 0x43a450
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 0x43a73f
mov ecx, dword [edi]
call fcn.004061d0
add esi, 1
add edi, 4
cmp esi, 0x190
jl 0x43a732
mov ecx, ebx
call fcn.00431c70
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
push eax
push ebp
push edx
call fcn.0043d2c0
add esp, 0xc
jmp 0x439e76
cmp eax, ebp
jne 0x43a784
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov dword [eax], edi
mov dword [ecx], 3
jmp 0x43a7f0
cmp eax, 2
jne 0x43a798
mov edx, dword [esp + 0x1c]
mov dword [edx], 0xc9
jmp 0x439e78
cmp eax, 3
jne 0x43a805
push edi
mov ecx, 0x455610
call fcn.00401a30
mov eax, dword [0x44d024]
cmp eax, 0x64
mov dword [0x44d028], edi
jne 0x43a7c7
mov dword [0x44d024], 0x63
jmp 0x439e78
cmp eax, 0x63
jne 0x43a7d7
mov dword [0x44d024], edi
jmp 0x439e78
add eax, ebp
mov dword [0x44d024], eax
mov ecx, dword [ebx + 0x7d4]
cmp eax, dword [ecx + 0x4d82384]
jne 0x439e78
mov dword [0x44d024], 0x64
mov dword [0x44d028], ebp
jmp 0x439e78
cmp eax, 4
jne 0x43a82c
sub dword [0x450c30], ebp
jns 0x43a81c
mov dword [0x450c30], 2
push edi
mov ecx, 0x455610
call fcn.00401a30
jmp 0x439e78
cmp eax, 5
jne 0x439e78
mov edx, dword [esp + 0x1c]
mov ecx, ebx
mov dword [edx], 0xa
call fcn.00431c70
mov dword [0x457580], edi
jmp 0x439e78