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

Disassembly:
sub esp, 0x5c
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3af]
mov ecx, dword [esi + 0x3e9]
mov edx, dword [esi + 0xe0]
mov ebp, dword [ecx + eax*4 + 0x5e30]
mov eax, dword [esi + 0xe4]
cmp edx, eax
mov dword [esp + 0x18], ebp
jge 0x47d5f8
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x5c
ret
mov eax, dword [esi + 0x101]
mov ecx, dword [esi + 0xf9]
push eax
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x3e5]
push edx
call fcn.004afa10
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov edi, dword [ecx + 4]
lea ecx, [eax + 0x15]
add eax, 0xffffffeb
lea edx, [edi + 0x15]
push edx
lea edx, [edi - 0x15]
push ecx
push edx
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004012b0
mov eax, dword [esi + 0x3e5]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x74]
dec ecx
dec edx
push ecx
push edx
push 0
lea eax, [esp + 0x68]
push 0
push eax
call fcn.004012b0
lea ecx, [esp + 0x70]
lea edx, [esp + 0x80]
push ecx
lea eax, [esp + 0x64]
push edx
push eax
call fcn.004011d0
add esp, 0x34
test eax, eax
jne 0x47d680
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x5c
ret
mov eax, dword [esp + 0x44]
push ebx
mov ebx, dword [esp + 0x40]
cmp ebx, eax
jg 0x47d7e6
sub edi, ebx
mov ecx, edi
mov dword [esp + 0x18], ecx
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
cmp ebp, eax
jg 0x47d7d0
mov eax, dword [esp + 0x34]
imul ecx, ecx
sub eax, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
jmp 0x47d6c0
mov ecx, dword [esp + 0x20]
mov edx, eax
imul edx, eax
add edx, ecx
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fsqrt
fadd qword [0x4f0458]
call fcn.004ecc00
cmp eax, 0x15
jg 0x47d7b6
mov eax, dword [esi + 0x3e9]
mov edi, 1
cmp dword [eax + 0x5e28], edi
jle 0x47d726
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00498cb0
cmp eax, 1
je 0x47d717
mov ecx, dword [esi + 0x3e9]
push 0
push edi
push ebx
push ebp
call fcn.004d2000
mov ecx, dword [esi + 0x3e9]
inc edi
cmp edi, dword [ecx + 0x5e28]
jl 0x47d6f8
mov edx, dword [esi + 0x3e9]
mov eax, dword [edx + 0x5f3b]
mov cl, byte [eax + 0x62]
test cl, cl
jne 0x47d7b6
mov ecx, dword [esi + 0x3e1]
push 0
push ebx
push ebp
call fcn.00438cd0
test al, 0x11
je 0x47d7b6
test al, 0x80
push 0
je 0x47d75b
lea ecx, [esp + 0x14]
push ecx
push 3
jmp 0x47d762
lea edx, [esp + 0x14]
push edx
push 2
mov ecx, dword [esi + 0x3e1]
push ebx
push ebp
call fcn.00438a20
test al, al
je 0x47d7b6
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 0x3c7]
mov edi, dword [ecx + 0x3c7]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
call fcn.004be3e0
test al, al
jne 0x47d7b6
cmp edi, 0xffffffff
je 0x47d7b6
mov ecx, dword [esi + 0x3e9]
mov edx, dword [ecx + 0xb1]
mov byte [edx + 0x4c], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
inc ebp
dec eax
cmp ebp, ecx
mov dword [esp + 0x14], eax
jle 0x47d6bc
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
inc ebx
dec ecx
cmp ebx, eax
mov dword [esp + 0x18], ecx
jle 0x47d699
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0xe4]
mov edx, dword [esi + 0x3e9]
xor ecx, ecx
mov dword [esi + 0xe0], 0
test eax, eax
setg cl
dec ecx
pop ebx
and eax, ecx
mov dword [esi + 0xe0], eax
mov eax, dword [edx + 0x5f2f]
mov eax, dword [eax + 0x91d]
test eax, eax
jne 0x47d83a
mov eax, dword [ebp + 0x24da]
cmp eax, 0x20
jge 0x47d866
shl eax, 8
push 0x50973c
lea ecx, [eax + ebp + 0x24de]
push ecx
jmp 0x47d85a
cmp eax, 1
jne 0x47d86f
mov eax, dword [ebp + 0x24da]
cmp eax, 0x20
jge 0x47d866
shl eax, 8
push str.Radar_shield_has_been_set_up.
lea edx, [eax + ebp + 0x24de]
push edx
call dword [0x4f0138]
inc dword [ebp + 0x24da]
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x5c
ret
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x5c
ret