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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x65a06c]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], esi
movsd xmm1, qword [0x627fe0]
movsd xmm0, qword [0x627fd8]
movsd qword [esp + 0x18], xmm1
movzx eax, byte [esp + 0x18]
movsd qword [esp + 0x18], xmm0
mov edx, dword [esi + 0xb8]
mov ecx, dword [esi + 0xac]
mov edi, dword [esi + 0xc0]
mov ebx, dword [esi + 0xc4]
mov dword [esp + 0xc], edx
mov byte [esp + 0xf], al
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
movzx eax, byte [esp + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0xc], ecx
mov esi, dword [esi + 0xb4]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], 0x1000100
mov dword [esp + 0x28], 0x1000101
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x1000103
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x1000102
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x1006501
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 0x1006502
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 0x1006503
mov dword [esp + 0x58], 0x1000200
mov dword [esp + 0x60], 0x1000201
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0x1000202
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x1000203
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], 0x1000205
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], 0x1000206
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 0x1000207
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x1000204
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x1000280
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0x1000281
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], 0x1000282
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0x1000284
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], 0x1000300
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0x1000400
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], 0x1000401
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0x1000501
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0x1000500
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0x1000502
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], 0x1000503
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0x1000504
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0x1000505
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0x1000700
mov eax, dword [esp + 0x10]
mov dword [esp + 0x11c], edi
mov edi, dword [esp + 0x10]
movsd qword [esp + 0x18], xmm0
mov eax, dword [eax + 0xb0]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x108], 0x1000600
mov dword [esp + 0x110], 0x1000601
mov dword [esp + 0x118], 0x1000800
mov eax, dword [eax + 0xc8]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x114], eax
mov eax, dword [edi + 0xac]
mov dword [esp + 0xc], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x16c], eax
mov dword [esp + 0x184], eax
mov dword [esp + 0x194], eax
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1cc], eax
mov byte [esp + 0xf], 0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1dc], eax
movzx eax, byte [esp + 0x18]
mov dword [esp + 0xc], ecx
mov byte [esp + 0xf], al
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1e4], eax
mov eax, edi
mov dword [esp + 0x120], 0x1000900
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], 0x1000d00
mov eax, dword [eax + 0xa8]
mov dword [esp + 0x1f4], eax
mov eax, edi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x130], 0x1000c00
mov dword [esp + 0x134], esi
mov dword [esp + 0x138], 0x1000a00
mov dword [esp + 0x13c], edx
mov dword [esp + 0x140], 0x1000b00
mov dword [esp + 0x148], 0x1000e00
mov dword [esp + 0x14c], edx
mov dword [esp + 0x150], 0x1000f00
mov dword [esp + 0x154], esi
mov dword [esp + 0x158], 0x1008300
mov dword [esp + 0x160], 0x1008301
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], 0x100e401
mov dword [esp + 0x170], 0x100e402
mov dword [esp + 0x174], edx
mov dword [esp + 0x178], 0x100e403
mov dword [esp + 0x17c], esi
mov dword [esp + 0x180], 0x100e801
mov dword [esp + 0x188], 0x100e803
mov dword [esp + 0x18c], esi
mov dword [esp + 0x190], 0x1002800
mov dword [esp + 0x198], 0x1002810
mov dword [esp + 0x19c], esi
mov dword [esp + 0x1a0], 0x1002820
mov dword [esp + 0x1a4], edx
mov dword [esp + 0x1a8], 0x1001200
mov dword [esp + 0x1b0], 0x1001300
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], 0x1001310
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x1c0], 0x1001311
mov dword [esp + 0x1c4], ebx
mov dword [esp + 0x1c8], 0x1001312
mov dword [esp + 0x1d0], 0x1001400
mov dword [esp + 0x1d4], edx
mov dword [esp + 0x1d8], 0x1001500
mov dword [esp + 0x1e0], 0x1001600
mov dword [esp + 0x1e8], 0x1001700
mov dword [esp + 0x1ec], esi
mov dword [esp + 0x1f0], 0x1005700
mov dword [esp + 0x1f8], 0x1005701
mov dword [esp + 0x1fc], edx
mov dword [esp + 0x200], 0x1001800
mov ecx, dword [eax + 0xac]
mov edi, dword [esp + 0x14]
movss xmm2, dword [0x627bd8]
movsd qword [esp + 0x18], xmm1
movzx eax, byte [esp + 0x18]
mov dword [esp + 0xc], esi
mov byte [esp + 0xf], al
mov eax, dword [esp + 0xc]
mov dword [esp + 0x254], eax
mov dword [esp + 0xc], ecx
movsd qword [esp + 0x18], xmm0
movzx eax, byte [esp + 0x18]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0xc]
mov dword [esp + 0x264], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x204], ecx
mov dword [esp + 0x21c], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x20c], 0x1001810
mov dword [esp + 0x210], edx
mov dword [esp + 0x214], 0x1001820
mov dword [esp + 0x218], esi
mov dword [esp + 0x21c], 0x1001900
mov dword [esp + 0x224], 0x1001a00
mov dword [esp + 0x228], ebx
mov dword [esp + 0x22c], 0x1001b00
mov dword [esp + 0x230], ebx
mov dword [esp + 0x234], 0x1001c00
mov dword [esp + 0x238], edi
mov dword [esp + 0x23c], 0x1001c10
mov dword [esp + 0x240], 0
mov dword [esp + 0x244], 0x1005800
mov dword [esp + 0x248], 0
mov dword [esp + 0x24c], 0x1005801
mov dword [esp + 0x250], esi
mov dword [esp + 0x254], 0x1005812
mov dword [esp + 0x25c], 0x1005814
mov dword [esp + 0x260], esi
mov dword [esp + 0x264], 0x1003200
mov dword [esp + 0x26c], 0x1003210
mov dword [esp + 0x270], esi
mov dword [esp + 0x274], 0x1003220
call fcn.00556ed0
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
movss xmm2, dword [0x627c1c]
mov dword [esp + 0x278], 0x1003230
mov eax, dword [eax]
mov dword [esp + 0x274], eax
mov eax, dword [ebx + 0xac]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
push eax
call fcn.00556ed0
mov edi, dword [ebx + 0xb4]
mov esi, dword [ebx + 0xc0]
push dword [0x65ac20]
mov eax, dword [eax]
movss xmm2, dword [0x627c0c]
mov dword [esp + 0x280], eax
mov eax, dword [ebx + 0xb8]
mov ebx, dword [ebx + 0xc4]
mov dword [esp + 0x288], eax
mov dword [esp + 0x298], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x284], 0x1003240
mov dword [esp + 0x28c], 0x1003250
mov dword [esp + 0x290], edi
mov dword [esp + 0x294], 0x1004010
mov dword [esp + 0x29c], 0x1004013
mov dword [esp + 0x2a0], esi
mov dword [esp + 0x2a4], 0x1004011
mov dword [esp + 0x2a8], 0
mov dword [esp + 0x2ac], 0x1004012
mov dword [esp + 0x2b0], ebx
mov dword [esp + 0x2b4], 0x1001f00
push eax
movaps xmm3, xmm2
lea ecx, [esp + 0x1c]
call fcn.005572d0
mov edx, dword [esp + 0x10]
movsd xmm0, qword [0x627fd8]
movsd qword [esp + 0x18], xmm0
mov eax, dword [eax]
mov ecx, dword [edx + 0xc8]
movsd xmm0, qword [0x627fe0]
mov dword [esp + 0x2b4], eax
mov eax, dword [edx + 0xb8]
mov dword [esp + 0x2c4], eax
mov eax, dword [edx + 0xac]
mov dword [esp + 0x2e4], ecx
mov ecx, dword [edx + 0xbc]
movzx edx, byte [esp + 0x18]
mov dword [esp + 0xc], ecx
mov byte [esp + 0xf], dl
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2bc], edi
mov dword [esp + 0x2d4], edi
mov dword [esp + 0x2fc], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x37c], edx
movsd qword [esp + 0x18], xmm0
movzx edx, byte [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x2ec], esi
mov esi, dword [edi + 0xb8]
mov byte [esp + 0xf], dl
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2b8], 0x1005400
mov dword [esp + 0x2c0], 0x1005410
mov dword [esp + 0x2c8], 0x1000af0
mov dword [esp + 0x2cc], eax
mov dword [esp + 0x2d0], 0x1000af1
mov dword [esp + 0x2d8], 0x1000540
mov dword [esp + 0x2dc], ebx
mov dword [esp + 0x2e0], 0x1000541
mov dword [esp + 0x2e8], 0x1000542
mov dword [esp + 0x2f0], 0x1000440
mov dword [esp + 0x2f4], ecx
mov dword [esp + 0x2f8], 0x1000441
mov dword [esp + 0x300], 0x1004000
mov dword [esp + 0x304], 0xffd3d3d3
mov dword [esp + 0x308], 0x1004001
mov dword [esp + 0x30c], 0xff000000
mov dword [esp + 0x310], 0x1005000
mov dword [esp + 0x314], 0xffffffff
mov dword [esp + 0x318], 0x1005001
mov dword [esp + 0x31c], 0xff000000
mov dword [esp + 0x320], 0x1005002
mov dword [esp + 0x324], 0x66000000
mov dword [esp + 0x328], 0x1005003
mov dword [esp + 0x32c], 0x80ffff00
mov dword [esp + 0x330], 0x1005004
mov dword [esp + 0x334], 0xffb6b600
mov dword [esp + 0x338], 0x1005005
mov dword [esp + 0x33c], 0xff000000
mov dword [esp + 0x340], 0x1005006
mov dword [esp + 0x344], 0x4c000000
mov dword [esp + 0x348], 0x1006000
mov dword [esp + 0x34c], 0xff1a1c27
mov dword [esp + 0x350], 0x1006001
mov dword [esp + 0x354], 0x99f1f1f1
mov dword [esp + 0x358], 0x1006002
mov dword [esp + 0x35c], 0xfff1f1f1
mov dword [esp + 0x360], 0x1006003
mov dword [esp + 0x364], 0x99ba00ff
mov dword [esp + 0x368], 0x1006004
mov dword [esp + 0x36c], 0xfff1f1f1
mov dword [esp + 0x370], 0x1004500
mov dword [esp + 0x374], eax
mov dword [esp + 0x378], 0x1004502
mov dword [esp + 0x380], 0x1004503
mov dword [esp + 0x384], esi
mov dword [esp + 0x388], 0x1004504
mov dword [esp + 0x38c], edx
mov dword [esp + 0x390], 0x1004505
mov dword [esp + 0x394], ecx
mov dword [esp + 0x398], 0x1007000
mov edx, dword [edi + 0xb0]
movss xmm1, dword [0x627c64]
mov dword [esp + 0x3bc], edx
movzx edx, al
mov dword [esp + 0xc], eax
mov dword [esp + 0x39c], eax
mov dword [esp + 0x3ac], eax
mov dword [esp + 0x3cc], eax
movzx eax, ah
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x3e4], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3a0], 0x1007001
mov dword [esp + 0x3a4], esi
mov dword [esp + 0x3a8], 0x100ad00
mulss xmm0, xmm1
mov dword [esp + 0x3b0], 0x100ad01
mov dword [esp + 0x3b4], esi
mov dword [esp + 0x3b8], 0x1004100
cvttss2si edx, xmm0
mov dword [esp + 0x3c0], 0x1000850
mov dword [esp + 0x3c4], esi
mov dword [esp + 0x3c8], 0x100f001
mov dword [esp + 0x3d0], 0x100f002
mov dword [esp + 0x3d4], esi
mov dword [esp + 0x3d8], 0x100f003
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov byte [esp + 0x10], dl
mov dword [esp + 0x3e0], 0x100f004
mov dword [esp + 0x3e8], 0x100f005
mov dword [esp + 0x3f0], 0x100f006
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov byte [esp + 0x11], al
movzx eax, byte [esp + 0xe]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov byte [esp + 0x12], al
movzx eax, byte [esp + 0xf]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3dc], eax
movzx eax, cl
mov dword [esp + 0xc], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov byte [esp + 0x10], al
movzx eax, ch
lea ecx, [esp + 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov byte [esp + 0x11], al
movzx eax, byte [esp + 0xe]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov byte [esp + 0x12], al
movzx eax, byte [esp + 0xf]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3ec], eax
lea eax, [esp + 0xc]
push eax
call fcn.00557090
mov ecx, dword [edi + 0xb0]
mov dword [esp + 0x3f8], 0x1000640
mov dword [esp + 0x3fc], ecx
mov eax, dword [eax]
mov dword [esp + 0x3f4], eax
mov eax, dword [edi + 0xc8]
mov dword [esp + 0x400], 0x1000641
mov dword [esp + 0x404], eax
mov dword [esp + 0x408], 0x1000642
xor esi, esi
mov dword [esp + 0x40c], eax
mov dword [esp + 0x410], 0x1000643
mov dword [esp + 0x414], ecx
mov dword [esp + 0x418], 0x1000644
mov dword [esp + 0x41c], eax
nop
mov ecx, dword [esp + esi*4 + 0x24]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x11], al
mov eax, ecx
mov byte [esp + 0x10], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [esp + 0x13], cl
mov ecx, edi
mov byte [esp + 0x12], al
push dword [esp + 0x10]
push dword [esp + esi*4 + 0x24]
call fcn.00595510
add esi, 2
cmp esi, 0x100
jl 0x586790
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00494b92
mov esp, ebp
pop ebp
ret