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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618fdc
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x6ae4c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x194], edi
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
push 0x20
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x114], 0xf
call fcn.0057bdf6
movups xmm0, xmmword [str.D:_ymir_work_ui_]
mov dword [ebp - 0x128], eax
add esp, 4
mov dword [ebp - 0x118], 0x10
mov dword [ebp - 0x114], 0x1f
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov esi, closesocket
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x118]
mov eax, esi
sub eax, ecx
cmp eax, 0x18
jb 0x4766c5
cmp dword [ebp - 0x114], 0xf
lea eax, [ebp - 0x128]
push 0x18
cmova eax, dword [ebp - 0x128]
push str.minimap_image_filter.dds
push ecx
push eax
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x190]
lea ecx, [ebp - 0x188]
call fcn.00449ac0
mov byte [ebp - 4], 1
mov eax, esi
mov ecx, dword [ebp - 0x118]
sub eax, ecx
cmp eax, 0x12
jb 0x4766c5
cmp dword [ebp - 0x114], 0xf
lea eax, [ebp - 0x128]
push 0x12
cmova eax, dword [ebp - 0x128]
push str.minimap_camera.dds
push ecx
push eax
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x190]
lea ecx, [ebp - 0x170]
call fcn.00449ac0
mov byte [ebp - 4], 2
mov eax, esi
mov ecx, dword [ebp - 0x118]
sub eax, ecx
cmp eax, 0x19
jb 0x4766c5
cmp dword [ebp - 0x114], 0xf
lea eax, [ebp - 0x128]
push 0x19
cmova eax, dword [ebp - 0x128]
push str.minimap_whitemark_new.tga
push ecx
push eax
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x190]
lea ecx, [ebp - 0x158]
call fcn.00449ac0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
sub esi, ecx
cmp esi, 0x19
jb 0x4766c5
cmp dword [ebp - 0x114], 0xf
lea eax, [ebp - 0x128]
push 0x19
cmova eax, dword [ebp - 0x128]
push str.minimap_whitemark_new.tga
push ecx
push eax
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x190]
lea ecx, [ebp - 0x140]
call fcn.00449ac0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x188]
cmp dword [ebp - 0x174], 0xf
mov ecx, dword [0x7008b4]
cmova eax, dword [ebp - 0x188]
push eax
call fcn.004e4b40
push eax
lea ecx, [edi + 0x54]
call fcn.004f54b0
cmp dword [ebp - 0x15c], 0xf
lea eax, [ebp - 0x170]
mov ecx, dword [0x7008b4]
cmova eax, dword [ebp - 0x170]
push eax
call fcn.004e4b40
push eax
lea ecx, [edi + 0x74]
call fcn.004f54b0
lea ecx, [edi + 0x54]
call fcn.004f4ce0
movss xmm0, dword [0x66d930]
lea ecx, [edi + 0x54]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
movss dword [edi + 0x240], xmm0
call fcn.004f4ca0
movss xmm1, dword [0x66d930]
cmp dword [ebp - 0x144], 0xf
mov dword [edi + 0x268], 0
movd xmm0, eax
lea eax, [ebp - 0x158]
cvtdq2ps xmm0, xmm0
cmova eax, dword [ebp - 0x158]
push eax
divss xmm1, xmm0
movss dword [edi + 0x254], xmm1
mov ecx, dword [0x7008b4]
call fcn.004e4b40
push eax
lea ecx, [edi + 0xc0]
call fcn.004f54b0
cmp dword [ebp - 0x12c], 0xf
lea eax, [ebp - 0x140]
mov ecx, dword [0x7008b4]
cmova eax, dword [ebp - 0x140]
push eax
call fcn.004e4b40
push eax
lea ecx, [edi + 0x10c]
call fcn.004f54b0
xor esi, esi
add edi, 0x36c
cmp dword [ebp - 0x114], 0xf
lea eax, [ebp - 0x128]
cmova eax, dword [ebp - 0x128]
inc esi
push esi
push eax
lea eax, [ebp - 0x110]
push str._sminimap_mini_waypoint_02d.sub
push eax
call fcn.004455c0
mov ecx, dword [0x7008b4]
lea eax, [ebp - 0x110]
add esp, 0x10
push eax
call fcn.004e4b40
push eax
mov ecx, edi
call fcn.004f54b0
push 1
mov ecx, edi
call fcn.004ff3a0
add edi, 0x4c
cmp esi, 0xc
jl 0x475fd1
mov edi, dword [ebp - 0x194]
xor esi, esi
add edi, 0x6fc
nop word [eax + eax]
cmp dword [ebp - 0x114], 0xf
lea eax, [ebp - 0x128]
cmova eax, dword [ebp - 0x128]
inc esi
push esi
push eax
lea eax, [ebp - 0x110]
push str._sminimap_waypoint_02d.sub
push eax
call fcn.004455c0
mov ecx, dword [0x7008b4]
lea eax, [ebp - 0x110]
add esp, 0x10
push eax
call fcn.004e4b40
push eax
mov ecx, edi
call fcn.004f54b0
push 1
mov ecx, edi
call fcn.004ff3a0
add edi, 0x4c
cmp esi, 0xf
jl 0x476040
mov edi, dword [ebp - 0x194]
xor esi, esi
add edi, 0xb70
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0x114], 0xf
lea eax, [ebp - 0x128]
cmova eax, dword [ebp - 0x128]
inc esi
push esi
push eax
lea eax, [ebp - 0x110]
push str._sminimap_targetmark_02d.sub
push eax
call fcn.004455c0
mov ecx, dword [0x7008b4]
lea eax, [ebp - 0x110]
add esp, 0x10
push eax
call fcn.004e4b40
push eax
mov ecx, edi
call fcn.004f54b0
push 1
mov ecx, edi
call fcn.004ff3a0
add edi, 0x4c
cmp esi, 2
jl 0x4760b0
mov ecx, dword [0x7008b4]
push str.d:_ymir_work_ui_minimap_GuildArea01.sub
call fcn.004e4b40
mov edi, dword [ebp - 0x194]
push eax
lea ecx, [edi + 0xc08]
call fcn.004f54b0
mov eax, dword [edi + 0x18c]
lea ecx, [edi + 0x18c]
push 1
push 8
push 0x102
mov eax, dword [eax + 4]
push 0x24
call eax
test al, al
je 0x476513
mov eax, dword [edi + 0x18c]
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [edi + 0x18c]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x4763ab
mov esi, dword [ebp - 0x204]
push 0x2d0
push 0
push esi
call fcn.005b7e70
movss xmm2, dword [0x66d924]
add esp, 0xc
movss xmm3, dword [0x66d930]
mov eax, 0xfffffffd
test al, 1
je 0x476396
mov dword [esi], 0xbfc00000
mov dword [esi + 0x14], 0xbfc00000
mov dword [esi + 0x28], 0xbf000000
mov dword [esi + 0x3c], 0xbf000000
mov dword [esi + 0x50], 0xbf000000
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x3f800000
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0x3f800000
mov dword [esi + 0x38], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0x3f800000
mov dword [esi + 0x4c], 0x3f800000
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
movss dword [esi + 4], xmm1
movaps xmm0, xmm1
movss dword [esi + 0x2c], xmm1
addss xmm0, xmm3
movss dword [esi + 0x18], xmm0
movss dword [esi + 0x40], xmm0
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 eax
cmp eax, 1
jle 0x476197
lea ecx, [edi + 0x18c]
call fcn.004fe440
lea esi, [edi + 0x1ac]
push 0x65
push 0x36
mov ecx, esi
mov dword [ebp - 0x194], esi
call fcn.004fe510
test al, al
je 0x476513
lea eax, [ebp - 0x190]
mov dword [ebp - 0x200], 0x10000
push eax
mov ecx, esi
mov dword [ebp - 0x1fc], 0x20002
mov dword [ebp - 0x1f8], 0x30001
mov edi, 0x1b
mov dword [ebp - 0x1f4], 0x50004
mov dword [ebp - 0x1f0], 0x60006
mov dword [ebp - 0x1ec], 0x70005
mov dword [ebp - 0x1e8], 0x90008
mov dword [ebp - 0x1e4], 0xa000a
mov dword [ebp - 0x1e0], 0xb0009
mov dword [ebp - 0x1dc], 0xd000c
mov dword [ebp - 0x1d8], 0xe000e
mov dword [ebp - 0x1d4], 0xf000d
mov dword [ebp - 0x1d0], 0x110010
mov dword [ebp - 0x1cc], 0x120012
mov dword [ebp - 0x1c8], 0x130011
mov dword [ebp - 0x1c4], 0x150014
mov dword [ebp - 0x1c0], 0x160016
mov dword [ebp - 0x1bc], 0x170015
mov dword [ebp - 0x1b8], 0x190018
mov dword [ebp - 0x1b4], 0x1a001a
mov dword [ebp - 0x1b0], 0x1b0019
mov dword [ebp - 0x1ac], 0x1d001c
mov dword [ebp - 0x1a8], 0x1e001e
mov dword [ebp - 0x1a4], 0x1f001d
mov dword [ebp - 0x1a0], 0x210020
mov dword [ebp - 0x19c], 0x220022
mov dword [ebp - 0x198], 0x230021
call fcn.004fe570
test al, al
je 0x47650a
mov ecx, edi
lea esi, [ebp - 0x200]
mov edi, dword [ebp - 0x190]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x194]
call fcn.004fe590
mov byte [ebp - 0x189], 1
jmp 0x47651a
mov byte [ebp - 0x189], 0
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x476554
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47654a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4766ca
push ecx
push edx
call fcn.0057bde8
add esp, 8
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
cmp ecx, 0xf
jbe 0x4765a9
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47659f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4766ca
push ecx
push edx
call fcn.0057bde8
add esp, 8
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
cmp ecx, 0xf
jbe 0x4765fe
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4765f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4766ca
push ecx
push edx
call fcn.0057bde8
add esp, 8
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
cmp ecx, 0xf
jbe 0x476653
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x476649
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4766ca
push ecx
push edx
call fcn.0057bde8
add esp, 8
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
cmp ecx, 0xf
jbe 0x4766a4
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47669a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4766ca
push ecx
push edx
call fcn.0057bde8
add esp, 8
mov al, byte [ebp - 0x189]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057bdda
mov esp, ebp
pop ebp
ret
call fcn.0043d6d0
call fcn.005c1e70
int3