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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x124
mov eax, dword [0x77bdf0]
cmp eax, 2
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
jne 0x56a3bf
mov eax, str.TrackMapStart
mov ecx, str.2PHudTop.fng
call fcn.00413670
mov eax, str.TrackMapFinish
mov ecx, str.2PHudTop.fng
call fcn.00413670
mov eax, dword [0x77bdf0]
mov ecx, dword [ebx + 0xc4]
mov edx, ecx
imul edx, edx, 0x3c
cmp byte [edx + 0x72c688], 0
jne 0x56a447
mov cl, byte [0x77be14]
test cl, cl
jne 0x56a3eb
mov ecx, dword [0x72afc0]
test ecx, ecx
je 0x56a943
cmp eax, 1
jne 0x56a417
mov eax, str.TrackMapStart
mov ecx, str.drag_HUD_test.fng
call fcn.00413670
mov eax, str.TrackMapFinish
mov ecx, str.drag_HUD_test.fng
call fcn.00413670
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 2
jne 0x56a943
mov eax, str.TrackMapStart
mov ecx, str.2PHudTop.fng
call fcn.00413670
mov eax, str.TrackMapFinish
mov ecx, str.2PHudTop.fng
call fcn.00413670
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp ecx, 0xb
jne 0x56a494
mov cl, byte [0x77be14]
test cl, cl
jne 0x56a460
mov ecx, dword [0x72afc0]
test ecx, ecx
je 0x56a494
cmp eax, 1
mov eax, str.TrackMapStart
jne 0x56a47b
mov ecx, str.drag_HUD_test.fng
call fcn.004136d0
mov ecx, str.drag_HUD_test.fng
jmp 0x56a48a
mov ecx, str.2PHudTop.fng
call fcn.004136d0
mov ecx, str.2PHudTop.fng
mov eax, str.TrackMapFinish
call fcn.004136d0
lea ecx, [esp + 0x90]
call fcn.0040b040
mov eax, dword [ebx + 0x9c]
add eax, 0x60
lea esi, [esp + 0x28]
mov edi, ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.0056bde0
mov eax, dword [ebx + 0xc4]
imul eax, eax, 0x3c
mov cl, byte [eax + 0x72c681]
test cl, cl
je 0x56a5fd
mov cl, byte [eax + 0x72c670]
test cl, cl
je 0x56a54c
mov edx, dword [ebx + 0xa8]
test edx, edx
je 0x56a54c
mov ecx, dword [ebx + 0x9c]
fld dword [ecx + 0x60]
add ecx, 0x60
fsub dword [edx + 0x60]
fld dword [ecx + 4]
mov ecx, dword [ebx + 0xa4]
fsub dword [edx + 0x64]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fdiv dword [ecx + 0x94]
fld dword [eax + 0x72c660]
fadd dword [ebx + 0x70]
fdiv dword [ebx + 0x70]
fmulp st(1)
fadd dword [0x6bda14]
fst dword [esp + 0x18]
fld st(0)
fst dword [esp + 0x1c]
fld st(1)
fstp dword [esp + 0x20]
fld st(1)
fstp dword [esp + 0x24]
jmp 0x56a57a
fld dword [eax + 0x72c668]
fst dword [esp + 0x18]
fld dword [eax + 0x72c66c]
fst dword [esp + 0x1c]
fld dword [eax + 0x72c668]
fadd dword [eax + 0x72c66c]
fmul dword [0x6bda38]
fst dword [esp + 0x24]
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x24]
fxch st(1)
mov eax, dword [esp + 0x20]
fstp dword [ebx + 0xac]
mov ecx, dword [esp + 0x1c]
push edx
fstp dword [ebx + 0xb0]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
mov edx, dword [ebp + 0x18]
push ebx
lea esi, [esp + 0x44]
lea edi, [esp + 0x3c]
call fcn.0056be60
fld dword [0x6a81b4]
fmul dword [esp + 0x24]
sub esp, 0x10
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
fstp dword [esp + 0xc]
fld dword [0x6a81b4]
lea edi, [esp + 0x38]
fmul dword [esp + 0x30]
fstp dword [esp + 8]
fld dword [0x6a81b4]
fmul dword [esp + 0x2c]
fstp dword [esp + 4]
fld dword [0x6a81b4]
fmul dword [esp + 0x28]
fstp dword [esp]
push ebx
call fcn.0056be60
fld dword [esp + 0x38]
jmp 0x56a640
mov eax, dword [ebp + 0x14]
fld dword [0x6bda18]
xor edx, edx
mov ecx, 0x3f800000
mov dword [eax], edx
mov dword [esp + 0x30], edx
mov dword [eax + 4], edx
mov dword [esp + 0x34], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esp + 0x3c], edx
mov dword [eax + 0x10], ecx
mov dword [esp + 0x40], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x44], ecx
mov dword [eax + 0x18], edx
mov dword [esp + 0x48], edx
mov dword [eax + 0x1c], ecx
mov dword [esp + 0x4c], ecx
fst dword [esp + 0xec]
mov eax, dword [esp + 0x30]
fadd dword [esp + 0x40]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xf8], eax
fadd dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x108], eax
mov eax, dword [ebp + 0x10]
fmul dword [0x6bdcc0]
fld dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
fadd dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x44]
fadd dword [esp + 0x34]
mov dword [esp + 0xf0], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xfc], ecx
fmul dword [0x6bdcc0]
fld dword [esp + 0x48]
lea ecx, [esp + 0x60]
fadd dword [esp + 0x40]
push ecx
mov dword [esp + 0x108], edx
lea edx, [esp + 0x84]
fadd dword [esp + 0x34]
push edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x80], 0
fmul dword [0x6bdcc0]
fld dword [esp + 0x54]
mov dword [esp + 0x90], 0
fadd dword [esp + 0x4c]
mov dword [esp + 0x70], 0
lea esi, [esp + 0x98]
fadd dword [esp + 0x3c]
fmul dword [0x6bdcc0]
fstp dword [esp + 0x34]
fadd st(2)
fmul dword [0x6bda38]
fstp dword [eax]
fld dword [esp + 0x34]
fadd st(1)
fmul dword [0x6bda38]
fstp dword [eax + 4]
mov eax, dword [ebx + 0xc4]
imul eax, eax, 0x3c
fstp st(0)
fstp st(0)
fld dword [eax + 0x72c660]
fadd dword [ebx + 0x70]
fld dword [eax + 0x72c664]
lea eax, [esp + 0x78]
fadd dword [ebx + 0x74]
push eax
fld st(1)
push ebx
fchs
lea eax, [esp + 0x60]
fst dword [esp + 0x60]
fld st(1)
fchs
fst dword [esp + 0x64]
fld st(3)
fstp dword [esp + 0x80]
fstp dword [esp + 0x84]
fxch st(2)
fstp dword [esp + 0x90]
fst dword [esp + 0x94]
fxch st(1)
fstp dword [esp + 0x70]
fstp dword [esp + 0x74]
call fcn.0056c0c0
mov esi, dword [ebx + 0xc4]
movzx ecx, byte [esp + 0x113]
imul esi, esi, 0x3c
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fmul dword [esi + 0x72c684]
call fcn.00666390
movzx edx, byte [esp + 0x117]
mov dword [esp + 0x18], edx
mov byte [esp + 0x113], al
fild dword [esp + 0x18]
fmul dword [esi + 0x72c684]
call fcn.00666390
mov byte [esp + 0x117], al
movzx eax, byte [esp + 0x11b]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esi + 0x72c684]
call fcn.00666390
movzx ecx, byte [esp + 0x11f]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x11b], al
fild dword [esp + 0x18]
fmul dword [esi + 0x72c684]
call fcn.00666390
fld dword [esi + 0x72c654]
fld dword [esp + 0x58]
mov byte [esp + 0x11f], al
fadd st(1)
fdivr dword [0x6bda18]
fld dword [esp + 0xe0]
fmul st(1)
fstp dword [esp + 0xe0]
fld dword [esp + 0xe4]
fmul st(1)
fstp dword [esp + 0xe4]
fld dword [esp + 0xe8]
fmul st(1)
fstp dword [esp + 0xe8]
fstp st(0)
fld dword [esp + 0x78]
fadd st(1)
fdivr dword [0x6bda18]
fld dword [esp + 0xec]
fmul st(1)
fstp dword [esp + 0xec]
fld dword [esp + 0xf0]
fmul st(1)
fstp dword [esp + 0xf0]
fld dword [esp + 0xf4]
fmul st(1)
fstp dword [esp + 0xf4]
fstp st(0)
fld dword [esp + 0x88]
fadd st(1)
fdivr dword [0x6bda18]
fld dword [esp + 0xf8]
fmul st(1)
fstp dword [esp + 0xf8]
fld dword [esp + 0xfc]
fmul st(1)
fstp dword [esp + 0xfc]
fld dword [esp + 0x100]
fmul st(1)
fstp dword [esp + 0x100]
fstp st(0)
fadd dword [esp + 0x68]
fdivr dword [0x6bda18]
fld dword [esp + 0x104]
fmul st(1)
fstp dword [esp + 0x104]
fld dword [esp + 0x108]
fmul st(1)
fstp dword [esp + 0x108]
fld dword [esp + 0x10c]
fmul st(1)
mov edx, dword [ebx + 0x78]
fstp dword [esp + 0x10c]
mov ecx, dword [ebp + 0xc]
push 0xe
fstp st(0)
push edx
lea eax, [esp + 0x98]
push eax
push ecx
mov eax, ebx
call fcn.0056ae20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14