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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x602d37
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x6a1450]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
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.0045a870
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.0049b3f0
push str.minimap_camera.dds
lea eax, [esp + 0x9c]
mov byte [esp + 0x228], 1
push eax
lea eax, [esp + 0x100]
push eax
call fcn.0049b3f0
push str.minimap_playermark.sub
lea eax, [esp + 0xa8]
mov byte [esp + 0x234], 2
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.0049b3f0
push str.minimap_whitemark.sub
lea eax, [esp + 0xb4]
mov byte [esp + 0x240], 3
push eax
lea eax, [esp + 0x100]
push eax
call fcn.0049b3f0
add esp, 0x30
mov byte [esp + 0x218], 4
lea eax, [esp + 0xbc]
cmp dword [esp + 0xd0], 0x10
mov ecx, dword [0x6f449c]
cmovae eax, dword [esp + 0xbc]
push eax
call fcn.0053d440
push eax
lea ecx, [ebx + 0x54]
call fcn.0054cb70
cmp dword [esp + 0x100], 0x10
lea eax, [esp + 0xec]
mov ecx, dword [0x6f449c]
cmovae eax, dword [esp + 0xec]
push eax
call fcn.0053d440
push eax
lea ecx, [ebx + 0x74]
call fcn.0054cb70
lea ecx, [ebx + 0x54]
call fcn.0054c350
movss xmm0, dword [0x65e818]
lea ecx, [ebx + 0x54]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
movss dword [ebx + 0x234], xmm0
call fcn.0054c310
movss xmm1, dword [0x65e818]
cmp dword [esp + 0xb8], 0x10
mov dword [ebx + 0x25c], 0
movd xmm0, eax
lea eax, [esp + 0xa4]
cvtdq2ps xmm0, xmm0
cmovae eax, dword [esp + 0xa4]
push eax
divss xmm1, xmm0
movss dword [ebx + 0x248], xmm1
mov ecx, dword [0x6f449c]
call fcn.0053d440
push eax
lea ecx, [ebx + 0xc0]
call fcn.0054cb70
cmp dword [esp + 0xe8], 0x10
lea eax, [esp + 0xd4]
mov ecx, dword [0x6f449c]
cmovae eax, dword [esp + 0xd4]
push eax
call fcn.0053d440
push eax
lea ecx, [ebx + 0x10c]
call fcn.0054cb70
xor esi, esi
lea edi, [ebx + 0x360]
jmp 0x496ba0
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.005ca1f6
mov ecx, dword [0x6f449c]
lea eax, [esp + 0x114]
add esp, 0x10
push eax
call fcn.0053d440
push eax
mov ecx, edi
call fcn.0054cb70
push 1
mov ecx, edi
call fcn.00556710
add edi, 0x4c
cmp esi, 0xc
jl 0x496ba0
xor esi, esi
lea edi, [ebx + 0x6f0]
jmp 0x496c10
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.005ca1f6
mov ecx, dword [0x6f449c]
lea eax, [esp + 0x114]
add esp, 0x10
push eax
call fcn.0053d440
push eax
mov ecx, edi
call fcn.0054cb70
push 1
mov ecx, edi
call fcn.00556710
add edi, 0x4c
cmp esi, 0xf
jl 0x496c10
xor esi, esi
lea edi, [ebx + 0xb64]
jmp 0x496c80
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.005ca1f6
mov ecx, dword [0x6f449c]
lea eax, [esp + 0x114]
add esp, 0x10
push eax
call fcn.0053d440
push eax
mov ecx, edi
call fcn.0054cb70
push 1
mov ecx, edi
call fcn.00556710
add edi, 0x4c
cmp esi, 2
jl 0x496c80
mov ecx, dword [0x6f449c]
push str.d:_ymir_work_ui_minimap_GuildArea01.sub
call fcn.0053d440
push eax
lea ecx, [ebx + 0xbfc]
call fcn.0054cb70
mov eax, dword [ebx + 0x180]
lea ecx, [ebx + 0x180]
push 1
push 8
push 0x102
mov eax, dword [eax + 4]
push 0x24
call eax
test al, al
je 0x4970b6
mov eax, dword [ebx + 0x180]
lea ecx, [esp + 0x88]
push ecx
lea ecx, [ebx + 0x180]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x496f90
mov esi, dword [esp + 0x88]
push 0x2d0
push 0
push esi
call fcn.005cd520
movss xmm2, dword [0x65e80c]
add esp, 0xc
movss xmm3, dword [0x65e818]
mov edx, 0xfffffffd
jmp 0x496d70
mov eax, edx
and eax, 0x80000001
jns 0x496d7e
dec eax
or eax, 0xfffffffe
inc eax
je 0x496f7b
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 0x496d70
lea ecx, [ebx + 0x180]
call fcn.00555820
push 0x65
add ebx, 0x1a0
push 0x36
mov ecx, ebx
call fcn.005558f0
test al, al
je 0x4970b6
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.00555970
test al, al
je 0x4970b2
mov edi, dword [esp + 0x84]
mov ecx, esi
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.00555990
mov bl, 1
jmp 0x4970b8
xor bl, bl
cmp dword [esp + 0xe8], 0x10
jb 0x4970d1
push dword [esp + 0xd4]
call fcn.004dbb70
add esp, 4
cmp dword [esp + 0xb8], 0x10
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
jb 0x497108
push dword [esp + 0xa4]
call fcn.004dbb70
add esp, 4
cmp dword [esp + 0x100], 0x10
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
jb 0x49713f
push dword [esp + 0xec]
call fcn.004dbb70
add esp, 4
cmp dword [esp + 0xd0], 0x10
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
jb 0x497176
push dword [esp + 0xbc]
call fcn.004dbb70
add esp, 4
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
jb 0x4971ad
push dword [esp + 0x8c]
call fcn.004dbb70
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.005c9914
mov esp, ebp
pop ebp
ret