Function at 0x495160
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5fd5f7
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x69a450]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push esi
push edi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov ebx, ecx
push 0x10
push str.D:_ymir_work_ui_
lea ecx, [esp + 0x94]
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
call fcn.0045a6b0
push str.minimap_image_filter.dds
lea eax, [esp + 0x90]
mov dword [esp + 0x21c], 0
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.00499a90
push str.minimap_camera.dds
lea eax, [esp + 0x9c]
mov byte [esp + 0x228], 1
push eax
lea eax, [esp + 0x100]
push eax
call fcn.00499a90
push str.minimap_playermark.sub
lea eax, [esp + 0xa8]
mov byte [esp + 0x234], 2
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.00499a90
push str.minimap_whitemark.sub
lea eax, [esp + 0xb4]
mov byte [esp + 0x240], 3
push eax
lea eax, [esp + 0x100]
push eax
call fcn.00499a90
add esp, 0x30
mov byte [esp + 0x218], 4
lea eax, [esp + 0xbc]
cmp dword [esp + 0xd0], 0x10
mov ecx, dword [0x6ed1d4]
cmovae eax, dword [esp + 0xbc]
push eax
call fcn.00536dc0
push eax
lea ecx, [ebx + 0x54]
call fcn.005462b0
cmp dword [esp + 0x100], 0x10
lea eax, [esp + 0xec]
mov ecx, dword [0x6ed1d4]
cmovae eax, dword [esp + 0xec]
push eax
call fcn.00536dc0
push eax
lea ecx, [ebx + 0x74]
call fcn.005462b0
lea ecx, [ebx + 0x54]
call fcn.00545a90
movss xmm0, dword [0x657940]
lea ecx, [ebx + 0x54]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
movss dword [ebx + 0x228], xmm0
call fcn.00545a50
movss xmm1, dword [0x657940]
cmp dword [esp + 0xb8], 0x10
mov dword [ebx + 0x250], 0
movd xmm0, eax
lea eax, [esp + 0xa4]
cvtdq2ps xmm0, xmm0
cmovae eax, dword [esp + 0xa4]
push eax
divss xmm1, xmm0
movss dword [ebx + 0x23c], xmm1
mov ecx, dword [0x6ed1d4]
call fcn.00536dc0
push eax
lea ecx, [ebx + 0xc0]
call fcn.005462b0
cmp dword [esp + 0xe8], 0x10
lea eax, [esp + 0xd4]
mov ecx, dword [0x6ed1d4]
cmovae eax, dword [esp + 0xd4]
push eax
call fcn.00536dc0
push eax
lea ecx, [ebx + 0x10c]
call fcn.005462b0
xor esi, esi
lea edi, [ebx + 0x354]
jmp 0x495380
cmp dword [esp + 0xa0], 0x10
lea eax, [esp + 0x8c]
cmovae eax, dword [esp + 0x8c]
inc esi
push esi
push eax
lea eax, [esp + 0x10c]
push str._sminimap_mini_waypoint_02d.sub
push eax
call fcn.005c5ca3
mov ecx, dword [0x6ed1d4]
lea eax, [esp + 0x114]
add esp, 0x10
push eax
call fcn.00536dc0
push eax
mov ecx, edi
call fcn.005462b0
push 1
mov ecx, edi
call fcn.0054ff40
add edi, 0x4c
cmp esi, 0xc
jl 0x495380
xor esi, esi
lea edi, [ebx + 0x6e4]
jmp 0x4953f0
cmp dword [esp + 0xa0], 0x10
lea eax, [esp + 0x8c]
cmovae eax, dword [esp + 0x8c]
inc esi
push esi
push eax
lea eax, [esp + 0x10c]
push str._sminimap_waypoint_02d.sub
push eax
call fcn.005c5ca3
mov ecx, dword [0x6ed1d4]
lea eax, [esp + 0x114]
add esp, 0x10
push eax
call fcn.00536dc0
push eax
mov ecx, edi
call fcn.005462b0
push 1
mov ecx, edi
call fcn.0054ff40
add edi, 0x4c
cmp esi, 0xf
jl 0x4953f0
xor esi, esi
lea edi, [ebx + 0xb58]
jmp 0x495460
cmp dword [esp + 0xa0], 0x10
lea eax, [esp + 0x8c]
cmovae eax, dword [esp + 0x8c]
inc esi
push esi
push eax
lea eax, [esp + 0x10c]
push str._sminimap_targetmark_02d.sub
push eax
call fcn.005c5ca3
mov ecx, dword [0x6ed1d4]
lea eax, [esp + 0x114]
add esp, 0x10
push eax
call fcn.00536dc0
push eax
mov ecx, edi
call fcn.005462b0
push 1
mov ecx, edi
call fcn.0054ff40
add edi, 0x4c
cmp esi, 2
jl 0x495460
mov ecx, dword [0x6ed1d4]
push str.d:_ymir_work_ui_minimap_GuildArea01.sub
call fcn.00536dc0
push eax
lea ecx, [ebx + 0xbf0]
call fcn.005462b0
mov eax, dword [ebx + 0x174]
lea ecx, [ebx + 0x174]
push 1
push 8
push 0x102
mov eax, dword [eax + 4]
push 0x24
call eax
test al, al
je 0x495896
mov eax, dword [ebx + 0x174]
lea ecx, [esp + 0x88]
push ecx
lea ecx, [ebx + 0x174]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x495770
mov esi, dword [esp + 0x88]
push 0x2d0
push 0
push esi
call fcn.005c8180
movss xmm2, dword [0x657934]
add esp, 0xc
movss xmm3, dword [0x657940]
mov edx, 0xfffffffd
jmp 0x495550
mov eax, edx
and eax, 0x80000001
jns 0x49555e
dec eax
or eax, 0xfffffffe
inc eax
je 0x49575b
mov dword [esi], 0xbfc00000
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
movss dword [esi + 4], xmm1
movaps xmm0, xmm1
mov dword [esi + 0x14], 0xbfc00000
addss xmm0, xmm3
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x3f800000
movss dword [esi + 0x18], xmm0
mov dword [esi + 0x28], 0xbf000000
movss dword [esi + 0x2c], xmm1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0x3f800000
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xbf000000
movss dword [esi + 0x40], xmm0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0x3f800000
mov dword [esi + 0x4c], 0x3f800000
mov dword [esi + 0x50], 0xbf000000
movss dword [esi + 0x54], xmm1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0xbf000000
movss dword [esi + 0x68], xmm0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0x3f800000
mov dword [esi + 0x78], 0x3f000000
movss dword [esi + 0x7c], xmm1
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0x3f800000
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0x3f000000
movss dword [esi + 0x90], xmm0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0x3f800000
mov dword [esi + 0x9c], 0x3f800000
mov dword [esi + 0xa0], 0x3f000000
movss dword [esi + 0xa4], xmm1
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0x3f000000
movss dword [esi + 0xb8], xmm0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0x3f800000
mov dword [esi + 0xc8], 0x3fc00000
movss dword [esi + 0xcc], xmm1
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0x3f800000
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0x3fc00000
movss dword [esi + 0xe0], xmm0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0x3f800000
mov dword [esi + 0xec], 0x3f800000
add esi, 0xf0
inc edx
cmp edx, 1
jle 0x495550
lea ecx, [ebx + 0x174]
call fcn.0054f030
push 0x65
add ebx, 0x194
push 0x36
mov ecx, ebx
call fcn.0054f100
test al, al
je 0x495896
lea eax, [esp + 0x84]
mov dword [esp + 0x14], 0x10000
push eax
mov ecx, ebx
mov dword [esp + 0x1c], 0x20002
mov dword [esp + 0x20], 0x30001
mov esi, 0x1b
mov dword [esp + 0x24], 0x50004
mov dword [esp + 0x28], 0x60006
mov dword [esp + 0x2c], 0x70005
mov dword [esp + 0x30], 0x90008
mov dword [esp + 0x34], 0xa000a
mov dword [esp + 0x38], 0xb0009
mov dword [esp + 0x3c], 0xd000c
mov dword [esp + 0x40], 0xe000e
mov dword [esp + 0x44], 0xf000d
mov dword [esp + 0x48], 0x110010
mov dword [esp + 0x4c], 0x120012
mov dword [esp + 0x50], 0x130011
mov dword [esp + 0x54], 0x150014
mov dword [esp + 0x58], 0x160016
mov dword [esp + 0x5c], 0x170015
mov dword [esp + 0x60], 0x190018
mov dword [esp + 0x64], 0x1a001a
mov dword [esp + 0x68], 0x1b0019
mov dword [esp + 0x6c], 0x1d001c
mov dword [esp + 0x70], 0x1e001e
mov dword [esp + 0x74], 0x1f001d
mov dword [esp + 0x78], 0x210020
mov dword [esp + 0x7c], 0x220022
mov dword [esp + 0x80], 0x230021
call fcn.0054f170
test al, al
je 0x495892
mov edi, dword [esp + 0x84]
mov ecx, esi
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0054f190
mov bl, 1
jmp 0x495898
xor bl, bl
cmp dword [esp + 0xe8], 0x10
jb 0x4958b1
push dword [esp + 0xd4]
call fcn.004d6210
add esp, 4
cmp dword [esp + 0xb8], 0x10
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
jb 0x4958e8
push dword [esp + 0xa4]
call fcn.004d6210
add esp, 4
cmp dword [esp + 0x100], 0x10
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
jb 0x49591f
push dword [esp + 0xec]
call fcn.004d6210
add esp, 4
cmp dword [esp + 0xd0], 0x10
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
jb 0x495956
push dword [esp + 0xbc]
call fcn.004d6210
add esp, 4
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
jb 0x49598d
push dword [esp + 0x8c]
call fcn.004d6210
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.005c46a4
mov esp, ebp
pop ebp
ret