Function at 0x4768c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x17c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov esi, ecx
je 0x478246
mov eax, dword [esi + 0x44]
cmp eax, 0xffffffff
je 0x478246
mov ecx, dword [0xa1e0fc]
mov edx, dword [ecx + eax*4]
mov bl, byte [edx + 0x27a]
test bl, bl
je 0x478246
mov edx, dword [0xa255a8]
mov byte [esp + 0x13], 0
test edx, edx
mov dword [esp + 0x14], 0
je 0x47692d
mov edx, dword [edi + 0x1b4]
mov edx, dword [edx + 0x34]
mov bl, byte [edx + 0x1a6]
test bl, bl
jne 0x478246
mov eax, dword [ecx + eax*4]
mov cl, byte [eax + 0x27b]
test cl, cl
je 0x476985
mov eax, dword [edi + 0x34]
test eax, eax
je 0x476978
movsx ecx, word [esi + 0x26]
movsx edx, word [esi + 0x24]
push ecx
push edx
push str.Springing_trigger_on_crate_at__d__d_n
call fcn.004068f0
mov eax, dword [0x838ef8]
mov ecx, dword [edi + 0x34]
add esp, 0xc
push 0
push 0
push eax
push edi
push 0x31
call fcn.006a92f0
mov al, byte [edi + 0x7d]
test al, al
je 0x477319
mov ecx, dword [0xa255a0]
mov byte [ecx + 0x223c], 1
mov bl, byte [esi + 0x11e]
cmp bl, 0x13
jb 0x4769d9
xor eax, eax
mov ecx, 0x7bea10
mov ebx, dword [ecx]
add ecx, 4
add eax, ebx
cmp ecx, 0x7bea5c
jl 0x476997
mov edx, dword [0xa255a0]
push eax
push 1
lea ecx, [edx + 0x218]
call fcn.0062fcf0
xor edx, edx
xor edi, edi
mov ecx, 0x7bea10
add edx, dword [ecx]
cmp eax, edx
jle 0x4769d5
add ecx, 4
inc edi
cmp ecx, 0x7bea5c
jl 0x4769c3
mov ebx, edi
jmp 0x4769df
and ebx, 0xff
mov eax, dword [0xa255a8]
mov dword [esp + 0x2c], ebx
test eax, eax
jne 0x476a56
mov al, byte [esi + 0x11e]
test al, al
jne 0x476c43
mov eax, dword [0x821b68]
mov edx, dword [esi + 0x44]
mov ecx, dword [eax + 0xe18]
mov dword [esp + 0x14], ecx
mov ecx, dword [0xa1e0fc]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax + 0xf4]
cmp ecx, edx
jne 0x476a29
mov ebx, dword [eax + 0x10cc]
mov dword [esp + 0x2c], ebx
cmp ecx, dword [eax + 0xf0]
jne 0x476a3b
mov ebx, dword [eax + 0x10d0]
mov dword [esp + 0x2c], ebx
cmp ecx, dword [eax + 0xf8]
jne 0x476c43
mov ebx, dword [eax + 0x10d4]
mov dword [esp + 0x2c], ebx
jmp 0x476c43
mov edx, dword [ebp + 8]
mov eax, dword [0x821b68]
add eax, 0x9d0
mov edi, dword [edx + 0x1b4]
push eax
mov ecx, edi
call fcn.004eeaa0
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x230]
test eax, eax
jne 0x476ac0
mov ecx, dword [edi + 0x24]
lea eax, [edi + 0x24]
push eax
call dword [ecx + 0x18]
cmp eax, 0x5dc
jle 0x476ac0
mov edx, dword [esp + 0x50]
lea ecx, [edi + 0x5430]
mov eax, dword [edx + 0xb90]
push eax
call fcn.004919a0
test eax, eax
jne 0x476ac0
mov al, byte [0xa255c8]
test al, al
je 0x476ac0
mov ebx, 1
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x13], bl
lea eax, [ebx - 1]
cmp eax, 0xd
ja case.0x476ad4.8
xor ecx, ecx
mov cl, byte [eax + 0x478274]
jmp dword [ecx*4 + 0x478254]
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x1b4]
cmp dword [edx + 0x228], 0x32
jle 0x476b07
jmp 0x476b01
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x1b4]
cmp dword [eax + 0x234], 0x64
jle 0x476b07
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [esi + 0xec]
cmp eax, 2
je 0x476b1b
cmp eax, 6
jne 0x476c0f
xor ebx, ebx
mov dword [esp + 0x2c], ebx
jmp 0x476c0f
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x120]
test eax, eax
jne 0x476b43
cmp dword [edi + 0x124], 0x3ff00000
je 0x476c0f
xor ebx, ebx
mov dword [esp + 0x2c], ebx
jmp 0x476c0f
mov edi, dword [ebp + 8]
test byte [edi + 0x14], 1
je 0x476c0f
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x80]
mov cl, byte [eax + 0xa9a]
test cl, cl
jne 0x476b7a
xor ebx, ebx
mov dword [esp + 0x2c], ebx
jmp 0x476c0f
test byte [edi + 0x14], 1
je 0x476c0f
lea ecx, [edi + 0x118]
call fcn.00707e80
test al, al
je 0x476c0f
xor ebx, ebx
mov dword [esp + 0x2c], ebx
jmp 0x476c0f
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x470]
test eax, eax
jne 0x476bc0
cmp dword [edi + 0x474], 0x3ff00000
jne 0x476bc0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp eax, 2
jne 0x476c0f
xor ebx, ebx
mov dword [esp + 0x2c], ebx
jmp 0x476c0f
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x128]
test eax, eax
jne 0x476bef
cmp dword [edi + 0x12c], 0x3ff00000
jne 0x476bef
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x28c]
test al, al
jne 0x476c0f
xor ebx, ebx
mov dword [esp + 0x2c], ebx
jmp 0x476c0f
mov edi, dword [ebp + 8]
mov al, byte [edi + 0x32a]
test al, al
je 0x476c0f
xor ebx, ebx
mov dword [esp + 0x2c], ebx
jmp 0x476c0f
mov edi, dword [ebp + 8]
cmp dword [esi + 0xec], 2
jne 0x476c28
mov al, byte [ebx + 0x839428]
test al, al
jne 0x476c28
xor ebx, ebx
mov dword [esp + 0x2c], ebx
cmp dword [0xa255a8], 4
jne 0x476c43
mov ecx, dword [edi + 0x1b4]
push ebx
add ecx, 0x4ab0
call fcn.00700f00
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x81a800
mov dword [esp + 0x54], eax
call fcn.0054ba20
mov eax, dword [0xa255a8]
test eax, eax
je 0x476c75
mov al, byte [0xa255d1]
test al, al
je 0x476c75
mov ecx, 0x81a800
call fcn.0054b750
cmp ebx, 6
jne 0x476c80
xor ebx, ebx
mov dword [esp + 0x2c], ebx
fld qword [ebx*8 + 0x839390]
cmp ebx, 0x11
mov byte [esp + 0x1b], 0
fstp qword [esp + 0x20]
ja case.0x476c9d.6
mov edx, dword [esp + 0x2c]
jmp dword [edx*4 + 0x478284]
movsx eax, word [esi + 0x26]
movsx ecx, word [esi + 0x24]
push eax
push ecx
push str.Crate_at__d__d_contains_poison_gas_n
call fcn.004068f0
add esp, 0xc
mov ecx, 0x7bde74
call fcn.00715a80
fld qword [esp + 0x20]
mov ebx, eax
call fcn.0076a6b0
mov edx, dword [esi]
mov edi, eax
push 0
push ebx
lea eax, [esp + 0x10c]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x2c], edi
call dword [edx + 0x48]
mov ecx, eax
mov edx, edi
call fcn.0047dec0
xor edi, edi
cmp edi, 8
jb 0x476cfe
mov eax, esi
jmp 0x476d28
mov ecx, dword [esi + 0x24]
push edi
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x40]
call fcn.0047cbc0
mov edx, dword [eax]
lea eax, [esp + 0x44]
push eax
mov ecx, 0x81a800
mov dword [esp + 0x48], edx
call fcn.005453b0
mov edx, dword [eax]
push 0
push ebx
lea ecx, [esp + 0x178]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x48]
mov edx, dword [esp + 0x28]
mov ecx, eax
call fcn.0047dec0
inc edi
cmp edi, 8
jl 0x476cf8
jmp case.0x476c9d.6
movsx edx, word [esi + 0x26]
movsx eax, word [esi + 0x24]
push edx
push eax
push str.Crate_at__d__d_contains_tiberium_n
call fcn.004068f0
mov eax, dword [0xaa8628]
mov ecx, dword [0xa255a0]
add esp, 0xc
dec eax
add ecx, 0x218
push eax
push 0
call fcn.0062fcf0
mov edi, eax
cmp edi, 1
jne 0x476d8c
xor edi, edi
push 1
push edi
mov ecx, esi
call fcn.0047bfa0
mov edx, dword [0xa255a0]
push 0x14
push 0xa
lea ecx, [edx + 0x218]
call fcn.0062fcf0
mov ecx, eax
dec eax
test ecx, ecx
je case.0x476c9d.6
lea ebx, [eax + 1]
mov edx, dword [0xa255a0]
push 0x300
push 0
lea ecx, [edx + 0x218]
call fcn.0062fcf0
push 1
lea ecx, [esp + 0x12c]
push eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov edx, eax
lea ecx, [esp + 0x160]
call fcn.00491530
mov edx, dword [eax]
push 1
mov dword [esp + 0x34], edx
push edi
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov ecx, 0x81a800
mov edx, dword [eax + 8]
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x44], edx
call fcn.00545340
mov ecx, eax
call fcn.0047bfa0
dec ebx
jne 0x476db9
jmp case.0x476c9d.6
movsx ecx, word [esi + 0x26]
movsx edx, word [esi + 0x24]
push ecx
push edx
push str.Crate_at__d__d_contains_shroud_n
call fcn.004068f0
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [eax + 0x1b4]
call fcn.004f4660
test al, al
je case.0x476c9d.6
mov ecx, 0x81a800
call fcn.00556bb0
jmp case.0x476c9d.6
movsx ecx, word [esi + 0x26]
movsx edx, word [esi + 0x24]
push ecx
push edx
push str.Crate_at__d__d_contains_reveal_n
call fcn.004068f0
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [eax + 0x1b4]
call fcn.004f4660
test al, al
je case.0x476c9d.6
mov ecx, 0x81a800
call fcn.00556dc0
mov eax, dword [esi + 0x24]
mov edi, 0x80
mov dword [esp + 0x44], eax
push 0
movsx ecx, word [esp + 0x4a]
movsx edx, ax
shl ecx, 8
shl edx, 8
add ecx, edi
add edx, edi
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.0041b630
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.004702c0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov dword [esp + 0xfc], eax
mov eax, dword [0x821b68]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], edx
push 0
mov ecx, dword [eax + 0x1e0]
lea edx, [esp + 0xf8]
jmp 0x4781af
movsx ecx, word [esi + 0x26]
movsx edx, word [esi + 0x24]
push ecx
push edx
push str.Crate_at__d__d_contains_a_unit_n
call fcn.004068f0
mov al, byte [esp + 0x1f]
add esp, 0xc
xor edi, edi
test al, al
je 0x476f58
mov eax, dword [0x821b68]
mov ebx, dword [ebp + 8]
add eax, 0x9d0
mov ecx, dword [ebx + 0x1b4]
push eax
call fcn.004eeaa0
mov edi, eax
test edi, edi
jne 0x47701e
jmp 0x476f5b
mov ebx, dword [ebp + 8]
mov ecx, dword [0x821b68]
mov edx, dword [ecx + 0x804]
mov eax, dword [edx]
mov ecx, dword [eax + 0xb90]
push ecx
mov ecx, dword [ebx + 0x1b4]
add ecx, 0x5420
call fcn.004919a0
test eax, eax
jg 0x476fb0
mov edx, dword [0x821b68]
mov eax, dword [edx + 0x804]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xb90]
mov ecx, dword [ebx + 0x1b4]
push edx
add ecx, 0x5420
call fcn.004919a0
test eax, eax
jle 0x47701e
mov eax, dword [0x821b68]
mov ecx, dword [eax + 0x9f0]
mov edx, dword [ecx]
mov ecx, dword [ebx + 0x1b4]
add ecx, 0x5430
mov eax, dword [edx + 0xb90]
push eax
call fcn.004919a0
test eax, eax
jne 0x47701e
mov ecx, dword [0x821b68]
mov edx, dword [ecx + 0x9f0]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xb90]
push ecx
mov ecx, dword [ebx + 0x1b4]
add ecx, 0x5430
call fcn.004919a0
test eax, eax
jne 0x47701e
mov edx, dword [0x821b68]
mov ecx, dword [ebx + 0x1b4]
add edx, 0x9ec
push edx
call fcn.004eeaa0
mov edi, eax
mov eax, dword [0x821b68]
mov eax, dword [eax + 0xe20]
test eax, eax
je 0x47702f
mov edi, eax
test edi, edi
jne 0x4770cb
mov eax, dword [0xa1e068]
mov ecx, dword [0xa255a0]
dec eax
add ecx, 0x218
push eax
push 0
call fcn.0062fcf0
mov edx, dword [0xa1e05c]
mov edi, dword [edx + eax*4]
mov edx, dword [0x821b68]
xor eax, eax
mov ecx, dword [edx + 0x9e0]
test ecx, ecx
jle 0x47707e
mov edx, dword [edx + 0x9d4]
cmp dword [edx], edi
je 0x4770a8
inc eax
add edx, 4
cmp eax, ecx
jl 0x477072
xor bl, bl
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1b4]
call fcn.004f46a0
mov cl, byte [edi + 0xba5]
test cl, cl
je 0x477037
mov cl, byte [0xa255c8]
test cl, cl
jne 0x4770ac
test bl, bl
je 0x4770c0
jmp 0x477037
mov bl, 1
jmp 0x477080
test bl, bl
je 0x4770c0
test al, al
jne 0x4770c0
mov al, byte [esp + 0x13]
test al, al
je 0x477037
test edi, edi
je case.0x476c9d.6
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1b4]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x8c]
mov edi, eax
test edi, edi
je case.0x476c9d.6
mov eax, dword [esi + 0x24]
xor ebx, ebx
mov dword [esp + 0x44], eax
push ebx
movsx ecx, word [esp + 0x4a]
movsx edx, ax
shl ecx, 8
shl edx, 8
add ecx, 0x80
add edx, 0x80
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.0041b630
mov eax, 0x80
mov ecx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
call fcn.004702c0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x38], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov eax, dword [edi]
push ebx
push ecx
mov ecx, edi
call dword [eax + 0xd4]
test al, al
je 0x4771ec
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1b4]
call fcn.004f4660
test al, al
je 0x477319
mov eax, dword [esi + 0x24]
mov edi, 0x80
mov dword [esp + 0x44], eax
push ebx
movsx ecx, word [esp + 0x4a]
movsx edx, ax
shl ecx, 8
shl edx, 8
add ecx, edi
add edx, edi
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.0041b630
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.004702c0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xec], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xf0], eax
push ebx
lea edx, [esp + 0xec]
jmp 0x477309
mov edx, dword [esi + 0x24]
mov eax, 1
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x50]
push ebx
push edx
push eax
push ebx
mov ecx, eax
push ebx
push ebx
push ecx
mov word [esp + 0x6c], bx
mov word [esp + 0x6e], bx
push eax
mov eax, dword [edi + 0x5ac]
push ebx
push ebx
mov ecx, dword [eax + 0x5a4]
push 0xffffffffffffffff
lea edx, [esp + 0x98]
push ecx
lea eax, [esp + 0x130]
push edx
push eax
mov ecx, 0x81a800
call fcn.0054d620
mov eax, dword [eax]
cmp ax, word [0x838ef8]
mov dword [esp + 0x44], eax
mov cx, word [esp + 0x46]
jne 0x47725c
cmp cx, word [0x838efa]
je 0x477324
movsx edx, ax
movsx eax, cx
shl eax, 8
shl edx, 8
add eax, 0x80
add edx, 0x80
mov dword [esp + 0xe0], eax
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe4], ebx
mov edx, dword [edi]
lea eax, [esp + 0xdc]
push ebx
push eax
mov ecx, edi
call dword [edx + 0xd4]
test al, al
je 0x477324
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1b4]
call fcn.004f4660
test al, al
je 0x477319
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x20]
mov dword [esp + 0x44], eax
push edx
movsx ebx, word [esp + 0x4a]
movsx edi, ax
shl edi, 8
shl ebx, 8
mov eax, 0x80
mov ecx, esi
add edi, 0x80
add ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004702c0
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], eax
push 0
lea edx, [esp + 0xb0]
mov eax, dword [0x821b68]
mov ecx, dword [eax + 0x1f0]
call fcn.007088c0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x20]
mov dword [esp + 0x2c], ebx
jmp 0x477335
xor ebx, ebx
movsx eax, word [esi + 0x26]
movsx ecx, word [esi + 0x24]
push eax
push ecx
push str.Crate_at__d__d_contains_money_n
call fcn.004068f0
mov edi, dword [esp + 0x20]
add esp, 0xc
cmp edi, ebx
jne 0x477377
fld qword [esp + 0x20]
call fcn.0076a6b0
lea edx, [eax + 0x384]
push edx
push eax
mov eax, dword [0xa255a0]
lea ecx, [eax + 0x218]
call fcn.0062fcf0
mov edi, eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1b4]
call fcn.004f4660
test al, al
je 0x47739a
cmp dword [0xa255a8], ebx
jne 0x47739a
mov ecx, dword [0xa1e0c4]
push edi
jmp 0x4773a4
mov edx, dword [ebp + 8]
push edi
mov ecx, dword [edx + 0x1b4]
call fcn.004e4990
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1b4]
call fcn.004f4660
test al, al
je case.0x476c9d.6
mov eax, dword [esi + 0x24]
mov edi, 0x80
mov dword [esp + 0x44], eax
push 0
movsx ecx, word [esp + 0x4a]
movsx edx, ax
shl ecx, 8
shl edx, 8
add ecx, edi
add edx, edi
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.0041b630
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.004702c0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov dword [esp + 0x84], eax
mov eax, dword [0x821b68]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
push 0
mov ecx, dword [eax + 0x1dc]
lea edx, [esp + 0x80]
jmp 0x4781af
movsx ecx, word [esi + 0x26]
movsx edx, word [esi + 0x24]
push ecx
push edx
push str.Crate_at__d__d_contains_explosives_n
call fcn.004068f0
fld qword [esp + 0x2c]
add esp, 0xc
call fcn.0076a6b0
mov edx, dword [0x821b68]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x44], eax
push 0
mov edx, dword [edx + 0xc74]
push 1
push 0
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
lea edx, [esp + 0x54]
push 0
push edx
call dword [eax + 0x158]
mov dword [esp + 0x14], 5
mov eax, dword [0xa255a0]
push 0x200
push 0
lea ecx, [eax + 0x218]
call fcn.0062fcf0
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x20]
movsx ebx, word [esp + 0x46]
movsx edi, ax
shl edi, 8
shl ebx, 8
mov eax, 0x80
push ecx
mov ecx, esi
add edi, 0x80
add ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004702c0
mov edx, dword [esp + 0x3c]
push 0
push edx
lea edx, [esp + 0xcc]
lea ecx, [esp + 0x148]
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], eax
call fcn.00491530
mov ecx, dword [eax]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x821b68]
mov edx, dword [eax + 4]
push 1
mov dword [esp + 0x38], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
mov edx, dword [ecx + 0xc74]
push edx
push 0
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.0047dec0
mov ecx, dword [0x821b68]
lea eax, [esp + 0x30]
push eax
push 0
mov edx, dword [ecx + 0xc74]
mov ecx, edi
call fcn.0047f0f0
push 0x1a8
mov ebx, eax
call fcn.0076d5a7
mov edi, eax
add esp, 4
test edi, edi
je 0x4775a2
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
call fcn.0047f8e0
push eax
push 0x2600
push 1
lea ecx, [esp + 0x3c]
push 0
push ecx
push ebx
mov ecx, edi
call fcn.00420110
mov edi, dword [esp + 0x30]
push 0
push 0
mov edx, dword [0x821b68]
sub esp, 0xc
mov ecx, dword [esp + 0x30]
mov edx, dword [edx + 0xc74]
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 8], edi
call fcn.0047f220
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x47748a
jmp case.0x476c9d.6
movsx ecx, word [esi + 0x26]
movsx edx, word [esi + 0x24]
push ecx
push edx
push str.Crate_at__d__d_contains_napalm_n
call fcn.004068f0
mov eax, dword [esi + 0x24]
add esp, 0xc
mov dword [esp + 0x3c], eax
mov ecx, esi
movsx ebx, word [esp + 0x3e]
movsx edi, ax
shl edi, 8
mov eax, 0x80
shl ebx, 8
add edi, eax
add ebx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
call fcn.004702c0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x110]
mov edx, dword [ecx]
push eax
call dword [edx + 0x48]
mov ecx, dword [eax]
push 0x1a8
add edi, ecx
mov ecx, dword [eax + 4]
add ecx, ebx
mov ebx, dword [eax + 8]
mov eax, dword [esp + 0x3c]
add ebx, eax
mov eax, edi
cdq
sub eax, edx
mov edi, eax
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar edi, 1
sar ecx, 1
sar eax, 1
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x4776ad
mov edx, dword [0x84e4f4]
push 0
push 0x600
push 1
lea ecx, [esp + 0x7c]
push 0
push ecx
mov ecx, dword [edx]
push ecx
mov ecx, eax
call fcn.00420110
fld qword [esp + 0x20]
call fcn.0076a6b0
mov ecx, dword [ebp + 8]
mov edi, eax
mov eax, dword [0x821b68]
mov dword [esp + 0x3c], edi
mov edx, dword [ecx]
push 0
mov eax, dword [eax + 0xc58]
push 1
push 0
push eax
lea eax, [esp + 0x4c]
push 0
push eax
call dword [edx + 0x158]
mov ecx, dword [0x821b68]
push 1
mov edx, dword [ecx + 0xc58]
lea ecx, [esp + 0x74]
push edx
push 0
mov edx, edi
call fcn.0047dec0
jmp case.0x476c9d.6
movsx eax, word [esi + 0x26]
movsx ecx, word [esi + 0x24]
push eax
push ecx
push str.Crate_at__d__d_contains_cloaking_device_n
call fcn.004068f0
mov eax, dword [0x83a8c8]
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], 0
jle case.0x476c9d.6
mov edx, dword [0x83a8bc]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x477817
mov ecx, eax
mov al, byte [ecx + 0x74]
test al, al
je 0x477817
mov edx, ecx
mov al, byte [edx + 0x14]
and al, 1
mov byte [esp + 0x13], al
je 0x477817
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], eax
push ecx
movsx ebx, word [esp + 0x42]
movsx edi, ax
shl edi, 8
mov eax, 0x80
mov ecx, esi
shl ebx, 8
add edi, eax
add ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004702c0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x11c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x48]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
sub edi, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x30], edi
mov edi, dword [eax + 4]
fild dword [esp + 0x30]
sub ebx, edi
sub ecx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
fild dword [esp + 0x34]
fild dword [esp + 0x38]
sub esp, 8
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
mov ecx, dword [0x821b68]
cmp eax, dword [ecx + 0x1394]
jge 0x477817
mov edx, dword [esp + 0x1c]
mov byte [edx + 0x32a], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [0x83a8c8]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x47772d
jmp case.0x476c9d.6
movsx eax, word [esi + 0x26]
movsx ecx, word [esi + 0x24]
push eax
push ecx
push str.Crate_at__d__d_contains_veterancy_TM__n
call fcn.004068f0
mov eax, dword [0x83a8c8]
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], 0
jle 0x4779da
mov edx, dword [0x83a8bc]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4779c3
mov ecx, eax
mov al, byte [ecx + 0x74]
test al, al
je 0x4779c3
mov edx, ecx
mov al, byte [edx + 0x14]
and al, 1
mov byte [esp + 0x13], al
je 0x4779c3
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], eax
push ecx
movsx ebx, word [esp + 0x42]
movsx edi, ax
shl edi, 8
mov eax, 0x80
mov ecx, esi
shl ebx, 8
add edi, eax
add ebx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call fcn.004702c0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x134]
mov edx, dword [ecx]
push eax
call dword [edx + 0x48]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
sub edi, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x30], edi
mov edi, dword [eax + 4]
fild dword [esp + 0x30]
sub ebx, edi
sub ecx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
fild dword [esp + 0x34]
fild dword [esp + 0x38]
sub esp, 8
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
mov ecx, dword [0x821b68]
cmp eax, dword [ecx + 0x1394]
jge 0x4779c3
mov edi, dword [esp + 0x1c]
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x80]
mov cl, byte [eax + 0xa9a]
test cl, cl
je 0x4779c3
fld qword [0x786610]
fcomp qword [esp + 0x20]
xor ebx, ebx
fnstsw ax
test ah, 1
je 0x4779c3
add edi, 0x118
mov ecx, edi
call fcn.00707e00
test al, al
je 0x477987
push 1
mov ecx, edi
call fcn.00707fb0
mov ecx, edi
call fcn.00707e30
test al, al
je 0x47799b
push 1
mov ecx, edi
call fcn.00707f80
mov ecx, edi
call fcn.00707e60
test al, al
je 0x4779af
push 1
mov ecx, edi
call fcn.00707f70
inc ebx
mov dword [esp + 0x3c], ebx
fild dword [esp + 0x3c]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x477973
mov eax, dword [esp + 0x14]
mov ecx, dword [0x83a8c8]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x47785f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1b4]
call fcn.004f4660
test al, al
je case.0x476c9d.6
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], eax
push ecx
movsx ebx, word [esp + 0x42]
movsx edi, ax
shl edi, 8
mov eax, 0x80
mov ecx, esi
shl ebx, 8
add edi, eax
add ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004702c0
mov dword [esp + 0x9c], eax
mov eax, dword [0x821b68]
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], ebx
mov ecx, dword [eax + 0x1f4]
push 0
lea edx, [esp + 0x98]
jmp 0x4781af
movsx ecx, word [esi + 0x26]
movsx edx, word [esi + 0x24]
push ecx
push edx
push str.Crate_at__d__d_contains_base_healing_n
call fcn.004068f0
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [eax + 0x1b4]
call fcn.004f4660
test al, al
je 0x477ad9
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], eax
push ecx
movsx ebx, word [esp + 0x42]
movsx edi, ax
shl edi, 8
mov eax, 0x80
mov ecx, esi
shl ebx, 8
add edi, eax
add ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004702c0
mov dword [esp + 0xa8], eax
mov eax, dword [0x821b68]
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], ebx
mov ecx, dword [eax + 0x638]
push 0
lea edx, [esp + 0xa4]
call fcn.007088c0
mov eax, dword [0x81a7a0]
xor ebx, ebx
test eax, eax
jle case.0x476c9d.6
mov ecx, dword [0x81a794]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x477b51
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x14]
and al, 1
mov byte [esp + 0x13], al
je 0x477b51
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x3c]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1b4], eax
jne 0x477b51
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x84]
mov ecx, dword [edi + 0x6c]
mov edx, dword [eax + 0xa0]
mov eax, dword [0x821b68]
sub ecx, edx
mov edx, dword [edi]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0xc74]
push 1
push 1
push 0
push ecx
lea eax, [esp + 0x4c]
push 0
push eax
mov ecx, edi
call dword [edx + 0x158]
mov eax, dword [0x81a7a0]
inc ebx
cmp ebx, eax
jl 0x477ae8
jmp case.0x476c9d.6
movsx ecx, word [esi + 0x26]
movsx edx, word [esi + 0x24]
push ecx
push edx
push str.Crate_at__d__d_contains_ICBM_n
call fcn.004068f0
add esp, 0xc
mov ecx, 0x14
call fcn.00694ce0
mov ecx, dword [ebp + 8]
mov ebx, eax
xor eax, eax
mov edx, dword [ecx + 0x1b4]
mov ecx, dword [edx + 0x1ac]
test ecx, ecx
jle case.0x476c9d.6
mov edx, dword [edx + 0x1a0]
mov dword [esp + 0x3c], edx
mov edi, edx
mov edx, dword [edi]
mov edx, dword [edx + 0x24]
cmp dword [edx + 0xb4], 0
je 0x477bc3
inc eax
add edi, 4
cmp eax, ecx
jl 0x477ba8
jmp case.0x476c9d.6
cmp eax, 0xffffffff
je case.0x476c9d.6
mov eax, dword [ebx + 0x98]
mov ecx, dword [esp + 0x3c]
push 0
push 0
mov ecx, dword [ecx + eax*4]
push 1
call fcn.00692240
test al, al
je case.0x476c9d.6
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x372]
test al, al
je case.0x476c9d.6
mov eax, dword [ebx + 0x98]
mov ecx, 0x81a800
push eax
push 0x1f
call fcn.00671c50
jmp case.0x476c9d.6
movsx ecx, word [esi + 0x26]
movsx edx, word [esi + 0x24]
push ecx
push edx
push str.Crate_at__d__d_contains_armor_n
call fcn.004068f0
mov eax, dword [0x83a8c8]
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x477d7f
mov eax, dword [0x83a8bc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
test eax, eax
mov dword [esp + 0x14], eax
je 0x477d51
mov edx, eax
mov al, byte [edx + 0x14]
and al, 1
mov byte [esp + 0x13], al
je 0x477d51
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], eax
push ecx
movsx ebx, word [esp + 0x42]
movsx edi, ax
shl edi, 8
mov eax, 0x80
mov ecx, esi
shl ebx, 8
add edi, eax
add ebx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call fcn.004702c0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x14c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x48]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
sub edi, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x30], edi
mov edi, dword [eax + 4]
fild dword [esp + 0x30]
sub ebx, edi
sub ecx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
fild dword [esp + 0x34]
fild dword [esp + 0x38]
sub esp, 8
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
mov ecx, dword [0x821b68]
cmp eax, dword [ecx + 0x1394]
jge 0x477d51
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x120]
test eax, eax
jne 0x477d51
cmp dword [ecx + 0x124], 0x3ff00000
jne 0x477d51
fld qword [esp + 0x20]
fmul qword [ecx + 0x120]
mov edx, dword [ecx]
fstp qword [ecx + 0x120]
call dword [edx + 0x3c]
mov ecx, eax
call fcn.004f4660
test al, al
je 0x477d51
mov byte [esp + 0x1b], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x83a8c8]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x477c41
mov al, byte [esp + 0x1b]
test al, al
je 0x477d7f
push 0xffffffffffffffff
or edx, 0xffffffff
mov ecx, str.EVA_UnitArmorUpgraded
call fcn.0070a5a0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1b4]
call fcn.004f4660
test al, al
je case.0x476c9d.6
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], eax
push ecx
movsx ebx, word [esp + 0x42]
movsx edi, ax
shl edi, 8
mov eax, 0x80
mov ecx, esi
shl ebx, 8
add edi, eax
add ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004702c0
mov dword [esp + 0xc0], eax
mov eax, dword [0x821b68]
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], ebx
mov ecx, dword [eax + 0x1e8]
push 0
lea edx, [esp + 0xbc]
jmp 0x4781af
movsx ecx, word [esi + 0x26]
movsx edx, word [esi + 0x24]
push ecx
push edx
push str.Crate_at__d__d_contains_speed_n
call fcn.004068f0
mov eax, dword [0x83a8c8]
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x477f6e
mov eax, dword [0x83a8bc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
test eax, eax
mov dword [esp + 0x14], eax
je 0x477f40
mov edx, eax
mov al, byte [edx + 0x14]
shr al, 2
and al, 1
mov byte [esp + 0x13], al
je 0x477f40
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], eax
push ecx
movsx ebx, word [esp + 0x42]
movsx edi, ax
shl edi, 8
mov eax, 0x80
mov ecx, esi
shl ebx, 8
add edi, eax
add ebx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call fcn.004702c0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x164]
mov edx, dword [ecx]
push eax
call dword [edx + 0x48]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
sub edi, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x30], edi
mov edi, dword [eax + 4]
fild dword [esp + 0x30]
sub ebx, edi
sub ecx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
fild dword [esp + 0x34]
fild dword [esp + 0x38]
sub esp, 8
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
mov ecx, dword [0x821b68]
cmp eax, dword [ecx + 0x1394]
jge 0x477f40
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x470]
test eax, eax
jne 0x477f40
cmp dword [edi + 0x474], 0x3ff00000
jne 0x477f40
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
cmp eax, 2
je 0x477f40
fld qword [esp + 0x20]
fmul qword [edi + 0x470]
mov eax, dword [edi + 0x1b4]
fstp qword [edi + 0x470]
mov cl, byte [eax + 0x135]
test cl, cl
je 0x477f40
mov byte [esp + 0x1b], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x83a8c8]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x477e21
mov al, byte [esp + 0x1b]
test al, al
je 0x477f6e
push 0xffffffffffffffff
or edx, 0xffffffff
mov ecx, str.EVA_UnitSpeedUpgraded
call fcn.0070a5a0
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1b4]
call fcn.004f4660
test al, al
je case.0x476c9d.6
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x20]
mov dword [esp + 0x3c], eax
push edx
movsx ebx, word [esp + 0x42]
movsx edi, ax
shl edi, 8
mov eax, 0x80
mov ecx, esi
shl ebx, 8
add edi, eax
add ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004702c0
mov dword [esp + 0xd8], eax
mov eax, dword [0x821b68]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], ebx
mov ecx, dword [eax + 0x1ec]
push 0
lea edx, [esp + 0xd4]
jmp 0x4781af
movsx ecx, word [esi + 0x26]
movsx edx, word [esi + 0x24]
push ecx
push edx
push str.Crate_at__d__d_contains_firepower_n
call fcn.004068f0
mov eax, dword [0x83a8c8]
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x47814e
mov eax, dword [0x83a8bc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
test eax, eax
mov dword [esp + 0x14], eax
je 0x478120
mov edx, eax
mov al, byte [edx + 0x14]
and al, 1
mov byte [esp + 0x13], al
je 0x478120
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], eax
push ecx
movsx ebx, word [esp + 0x42]
movsx edi, ax
shl edi, 8
mov eax, 0x80
mov ecx, esi
shl ebx, 8
add edi, eax
add ebx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call fcn.004702c0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x17c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x48]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
sub edi, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x30], edi
mov edi, dword [eax + 4]
sub ebx, edi
sub ecx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
fild dword [esp + 0x34]
fild dword [esp + 0x38]
fild dword [esp + 0x30]
sub esp, 8
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
mov ecx, dword [0x821b68]
cmp eax, dword [ecx + 0x1394]
jge 0x478120
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x128]
test eax, eax
jne 0x478120
cmp dword [ecx + 0x12c], 0x3ff00000
jne 0x478120
fld qword [esp + 0x20]
fmul qword [ecx + 0x128]
mov edx, dword [ecx]
fstp qword [ecx + 0x128]
call dword [edx + 0x3c]
mov ecx, eax
call fcn.004f4660
test al, al
je 0x478120
mov byte [esp + 0x1b], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x83a8c8]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x478010
mov al, byte [esp + 0x1b]
test al, al
je 0x47814e
push 0xffffffffffffffff
or edx, 0xffffffff
mov ecx, str.EVA_UnitFirePowerUpgraded
call fcn.0070a5a0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1b4]
call fcn.004f4660
test al, al
je case.0x476c9d.6
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], eax
push ecx
movsx ebx, word [esp + 0x42]
movsx edi, ax
shl edi, 8
mov eax, 0x80
mov ecx, esi
shl ebx, 8
add edi, eax
add ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004702c0
mov dword [esp + 0x5c], eax
mov eax, dword [0x821b68]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
mov ecx, dword [eax + 0x1e4]
push 0
lea edx, [esp + 0x58]
call fcn.007088c0
mov ecx, dword [esp + 0x2c]
cmp dword [ecx*4 + 0x7bea5c], 0xffffffff
je 0x478246
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x20]
mov dword [esp + 0x3c], eax
push edx
movsx ebx, word [esp + 0x42]
movsx edi, ax
shl edi, 8
mov eax, 0x80
mov ecx, esi
shl ebx, 8
add edi, eax
add ebx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004702c0
add eax, 0xc8
push 0x1a8
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], eax
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x478246
mov edx, dword [esp + 0x2c]
push 0
push 0x600
push 1
lea ecx, [esp + 0x60]
push 0
push ecx
mov ecx, dword [edx*4 + 0x7bea5c]
mov edx, dword [0x84e4f4]
mov ecx, dword [edx + ecx*4]
push ecx
mov ecx, eax
call fcn.00420110
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4