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

Disassembly:
sub esp, 0x5c
push ebp
push esi
mov esi, ecx
push edi
fld dword [esi + 0x18a1]
mov eax, dword [esi + 0x3af]
mov ecx, dword [esi + 0x3e9]
fsub dword [esi + 0xf9]
fld dword [esi + 0x18a9]
mov ebp, dword [ecx + eax*4 + 0x5e30]
mov eax, dword [esi + 0x18ee]
fsub dword [esi + 0x101]
test eax, eax
mov dword [esp + 0x18], ebp
jne 0x47ee2d
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fld dword [esi + 0x3bf]
fmul dword [0x4f0570]
fcompp
fnstsw ax
test ah, 0x41
jne 0x47ee31
mov edx, dword [esi + 0x101]
mov eax, dword [esi + 0xf9]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esi + 0x3e5]
call fcn.004afa10
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x30], eax
mov edi, dword [edx + 4]
lea edx, [eax + 0x15]
add eax, 0xffffffeb
lea ecx, [edi + 0x15]
push ecx
lea ecx, [edi - 0x15]
push edx
push ecx
lea edx, [esp + 0x64]
push eax
push edx
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
je 0x47ee31
mov eax, dword [esp + 0x44]
push ebx
mov ebx, dword [esp + 0x40]
cmp ebx, eax
jg 0x47eda7
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 0x47ed91
mov eax, dword [esp + 0x34]
imul ecx, ecx
sub eax, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
jmp 0x47ec81
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 0x47ed77
mov eax, dword [esi + 0x3e9]
mov edi, 1
cmp dword [eax + 0x5e28], edi
jle 0x47ece7
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00498cb0
cmp eax, 1
je 0x47ecd8
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 0x47ecb9
mov edx, dword [esi + 0x3e9]
mov eax, dword [edx + 0x5f3b]
mov cl, byte [eax + 0x62]
test cl, cl
jne 0x47ed77
mov ecx, dword [esi + 0x3e1]
push 0
push ebx
push ebp
call fcn.00438cd0
test al, 0x11
je 0x47ed77
test al, 0x80
push 0
je 0x47ed1c
lea ecx, [esp + 0x14]
push ecx
push 3
jmp 0x47ed23
lea edx, [esp + 0x14]
push edx
push 2
mov ecx, dword [esi + 0x3e1]
push ebx
push ebp
call fcn.00438a20
test al, al
je 0x47ed77
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 0x47ed77
cmp edi, 0xffffffff
je 0x47ed77
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 0x47ec7d
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
inc ebx
dec ecx
cmp ebx, eax
mov dword [esp + 0x18], ecx
jle 0x47ec5a
mov ebp, dword [esp + 0x1c]
mov edx, dword [esi + 0x18ee]
mov eax, dword [esi + 0x3e9]
inc edx
pop ebx
mov dword [esi + 0x18ee], edx
mov ecx, dword [eax + 0x5f2f]
mov eax, dword [ecx + 0x91d]
test eax, eax
jne 0x47ede8
mov eax, dword [ebp + 0x24da]
cmp eax, 0x20
jge 0x47ee31
shl eax, 8
push 0x50973c
lea edx, [eax + ebp + 0x24de]
push edx
jmp 0x47ee08
cmp eax, 1
jne 0x47ee24
mov eax, dword [ebp + 0x24da]
cmp eax, 0x20
jge 0x47ee31
shl eax, 8
push str.Radar_shield_has_been_set_up.
lea eax, [eax + ebp + 0x24de]
push eax
call dword [0x4f0138]
mov eax, dword [ebp + 0x24da]
pop edi
inc eax
pop esi
mov dword [ebp + 0x24da], eax
mov al, 1
pop ebp
add esp, 0x5c
ret
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x5c
ret
fstp st(0)
fstp st(0)
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x5c
ret