Function at 0x1000e0b3
Capabilities:
Link many functions at runtime

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x10034a90]
mov esi, eax
push ecx
push esi
call fcn.1000e055
mov ecx, dword [str.GetModuleFileNameW]
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
push ebp
call ebx
push 0x104
push esi
push 0
call eax
mov edx, dword [str.billhook.csv]
xor eax, eax
cmp word [esi], ax
je 0x1000e101
inc eax
cmp word [esi + eax*2], 0
inc esi
add byte [ebp - 8], dh
cmp word [esi + eax*2 - 2], 0x5c
lea ecx, [esi + eax*2]
je 0x1000e11d
dec eax
xor edi, edi
mov word [ecx], di
cmp word [esi + eax*2 - 2], 0x5c
lea ecx, [esi + eax*2]
jne 0x1000e10c
cmp byte [edx], 0
je 0x1000e141
mov bl, byte [edx]
lea ecx, [esi + eax*2]
movsx ax, bl
lea edx, [edx + 1]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
mov bl, byte [edx]
test bl, bl
jne 0x1000e127
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0x80
push 3
push 0
push 1
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000e313
mov ecx, dword [str.GetFileSize]
push ecx
push ebp
call ebx
push 0
push edi
call eax
mov ecx, dword [0x10034a94]
mov esi, eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x10034a94]
mov ebx, eax
push ecx
push ebx
call fcn.1000e055
mov ecx, dword [str.ReadFile]
add esp, 8
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push ecx
push esi
push ebx
push edi
call eax
test eax, eax
je 0x1000e313
mov eax, dword [esp + 0x14]
xor edx, edx
add eax, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [0x10034ab4]
add ebx, eax
mov edi, dword [ebx + 4]
lea eax, [ebx + 4]
add eax, 4
mov ecx, dword [ebx]
movd xmm0, edi
pshufd xmm2, xmm0, 0
test ecx, ecx
je 0x1000e230
cmp ecx, 8
jb 0x1000e220
mov esi, ecx
and esi, 0xfffffff8
movups xmm0, xmmword [eax]
add edx, 8
movaps xmm1, xmm2
paddd xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [eax + 0x10]
movaps xmm1, xmm2
paddd xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
add eax, 0x20
cmp edx, esi
jb 0x1000e1fa
cmp edx, ecx
jae 0x1000e230
sub ecx, edx
add dword [eax], edi
lea eax, [eax + 4]
sub ecx, 1
jne 0x1000e226
mov eax, dword [0x10034ad0]
add ebx, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebx + 1]
push eax
push ebp
call edi
mov esi, eax
test esi, esi
je 0x1000e313
movsx ecx, byte [ebx]
add ebx, ecx
lea ecx, [ebx + 1]
push ecx
push ebp
call edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x1000e313
movsx ecx, byte [ebx]
add ebx, ecx
lea ecx, [ebx + 1]
push ecx
call esi
mov edx, eax
test edx, edx
je 0x1000e313
mov eax, dword [edx + 0x3c]
movsx ecx, byte [ebx]
mov edi, dword [eax + edx + 0x2c]
lea eax, [esp + 0x10]
mov ebp, dword [ebx + ecx + 4]
lea esi, [ecx + 0xc]
push eax
push 0x40
add esi, ebx
add edi, edx
mov ebx, dword [ebx + ecx + 8]
push ebx
push edi
mov dword [esp + 0x20], 0
call dword [esp + 0x28]
push ebx
push esi
push edi
call fcn.1000e005
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push ebx
push edi
call dword [esp + 0x28]
mov eax, dword [str.hostessship.xml]
xor ecx, ecx
add edi, ebp
cmp byte [eax], cl
je 0x1000e2ef
mov edx, dword [esp + 0x1c]
nop
mov eax, dword [str.hostessship.xml]
movsx ax, byte [eax + ecx]
mov word [edx + ecx*2], ax
inc ecx
mov eax, dword [str.hostessship.xml]
cmp byte [eax + ecx], 0
jne 0x1000e2d5
mov eax, dword [esp + 0x1c]
xor edx, edx
mov word [eax + ecx*2], dx
mov dword [esp + 0x24], eax
lea eax, [ebx + esi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x2c], 1
call edi
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret