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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61c537
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push esi
push edi
mov eax, dword [0x6c4490]
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.0045bc80
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.0049e300
push str.minimap_camera.dds
lea eax, [esp + 0x9c]
mov byte [esp + 0x228], 1
push eax
lea eax, [esp + 0x100]
push eax
call fcn.0049e300
push str.minimap_playermark.sub
lea eax, [esp + 0xa8]
mov byte [esp + 0x234], 2
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.0049e300
push str.minimap_whitemark.sub
lea eax, [esp + 0xb4]
mov byte [esp + 0x240], 3
push eax
lea eax, [esp + 0x100]
push eax
call fcn.0049e300
add esp, 0x30
mov byte [esp + 0x218], 4
lea eax, [esp + 0xbc]
cmp dword [esp + 0xd0], 0x10
mov ecx, dword [0x7178a8]
cmovae eax, dword [esp + 0xbc]
push eax
call fcn.00548bc0
push eax
lea ecx, [ebx + 0x54]
call fcn.00558d70
cmp dword [esp + 0x100], 0x10
lea eax, [esp + 0xec]
mov ecx, dword [0x7178a8]
cmovae eax, dword [esp + 0xec]
push eax
call fcn.00548bc0
push eax
lea ecx, [ebx + 0x7c]
call fcn.00558d70
lea ecx, [ebx + 0x54]
call fcn.00558530
movss xmm0, dword [0x680108]
lea ecx, [ebx + 0x54]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
movss dword [ebx + 0x244], xmm0
call fcn.005584f0
movss xmm1, dword [0x680108]
cmp dword [esp + 0xb8], 0x10
mov dword [ebx + 0x26c], 0
movd xmm0, eax
lea eax, [esp + 0xa4]
cvtdq2ps xmm0, xmm0
cmovae eax, dword [esp + 0xa4]
push eax
divss xmm1, xmm0
movss dword [ebx + 0x258], xmm1
mov ecx, dword [0x7178a8]
call fcn.00548bc0
push eax
lea ecx, [ebx + 0xc8]
call fcn.00558d70
cmp dword [esp + 0xe8], 0x10
lea eax, [esp + 0xd4]
mov ecx, dword [0x7178a8]
cmovae eax, dword [esp + 0xd4]
push eax
call fcn.00548bc0
push eax
lea ecx, [ebx + 0x114]
call fcn.00558d70
xor esi, esi
lea edi, [ebx + 0x378]
jmp 0x499b90
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.005e02f6
mov ecx, dword [0x7178a8]
lea eax, [esp + 0x114]
add esp, 0x10
push eax
call fcn.00548bc0
push eax
mov ecx, edi
call fcn.00558d70
push 1
mov ecx, edi
call fcn.00562a30
add edi, 0x4c
cmp esi, 0xc
jl 0x499b90
xor esi, esi
lea edi, [ebx + 0x708]
jmp 0x499c00
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.005e02f6
mov ecx, dword [0x7178a8]
lea eax, [esp + 0x114]
add esp, 0x10
push eax
call fcn.00548bc0
push eax
mov ecx, edi
call fcn.00558d70
push 1
mov ecx, edi
call fcn.00562a30
add edi, 0x4c
cmp esi, 0xf
jl 0x499c00
xor esi, esi
lea edi, [ebx + 0xb7c]
jmp 0x499c70
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.005e02f6
mov ecx, dword [0x7178a8]
lea eax, [esp + 0x114]
add esp, 0x10
push eax
call fcn.00548bc0
push eax
mov ecx, edi
call fcn.00558d70
push 1
mov ecx, edi
call fcn.00562a30
add edi, 0x4c
cmp esi, 2
jl 0x499c70
mov ecx, dword [0x7178a8]
push str.d:_ymir_work_ui_minimap_GuildArea01.sub
call fcn.00548bc0
push eax
lea ecx, [ebx + 0xc14]
call fcn.00558d70
mov eax, dword [ebx + 0x190]
lea ecx, [ebx + 0x190]
push 1
push 8
push 0x102
mov eax, dword [eax + 4]
push 0x24
call eax
test al, al
je 0x49a0a6
mov eax, dword [ebx + 0x190]
lea ecx, [esp + 0x88]
push ecx
lea ecx, [ebx + 0x190]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x499f80
mov esi, dword [esp + 0x88]
push 0x2d0
push 0
push esi
call fcn.005e39f0
movss xmm2, dword [0x6800fc]
add esp, 0xc
movss xmm3, dword [0x680108]
mov edx, 0xfffffffd
jmp 0x499d60
mov eax, edx
and eax, 0x80000001
jns 0x499d6e
dec eax
or eax, 0xfffffffe
inc eax
je 0x499f6b
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 0x499d60
lea ecx, [ebx + 0x190]
call fcn.00561b30
push 0x65
add ebx, 0x1b0
push 0x36
mov ecx, ebx
call fcn.00561c00
test al, al
je 0x49a0a6
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.00561c90
test al, al
je 0x49a0a2
mov edi, dword [esp + 0x84]
mov ecx, esi
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.00561cb0
mov bl, 1
jmp 0x49a0a8
xor bl, bl
cmp dword [esp + 0xe8], 0x10
jb 0x49a0c1
push dword [esp + 0xd4]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0xb8], 0x10
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
jb 0x49a0f8
push dword [esp + 0xa4]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0x100], 0x10
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
jb 0x49a12f
push dword [esp + 0xec]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0xd0], 0x10
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
jb 0x49a166
push dword [esp + 0xbc]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
jb 0x49a19d
push dword [esp + 0x8c]
call fcn.004ec310
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.005dfa14
mov esp, ebp
pop ebp
ret