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

Disassembly:
sub esp, 0xd8
mov eax, dword [0x10104008]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xdc]
push ebx
push ebp
mov dword [esp + 0x44], eax
mov ebx, edx
mov eax, dword [esp + 0xe8]
push esi
mov esi, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xf0]
mov ecx, 0x101080ea
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], eax
call fcn.100de193
mov eax, dword [ebx]
xor ebp, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
cmp dword [ebx + 0x10], ebp
jne 0x100d50ea
push ebp
push 1
push ebp
mov edx, 0x100f0030
jmp 0x100d534f
mov ebp, dword [esp + 0xf8]
mov ecx, 0xffffffc0
cmp dword [esp + 0xfc], ecx
mov eax, 0x40
mov ebx, 1
cmovge ecx, dword [esp + 0xfc]
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], ebx
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x50], xmm0
test ecx, ecx
js 0x100d5139
lea eax, [ecx - 1]
add eax, ebx
cdq
idiv ebx
jmp 0x100d513d
mov eax, ecx
neg eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], 0
test ebx, ebx
jle 0x100d5261
mov edx, dword [esp + 0x2c]
lea edi, [esp + 0x80]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
nop dword [eax]
xorps xmm0, xmm0
xor esi, esi
or ebx, 0xffffffff
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
cmp dword [eax + 0x18], esi
jle 0x100d5220
nop dword [eax]
mov dword [esp + 0x68], 0
xorps xmm0, xmm0
mov dword [esp + 0x6c], 0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x28], 0
test ebp, ebp
js 0x100d51bf
cmp esi, ebp
jne 0x100d5216
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x58]
push eax
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x38]
push esi
call fcn.100d3750
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100d52b1
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
cmp ecx, ebx
jle 0x100d5212
movups xmm0, xmmword [esp + 0x68]
mov ebx, ecx
movups xmmword [edi], xmm0
movq xmm0, qword [esp + 0x78]
movq qword [edi + 0x10], xmm0
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, dword [eax + 0x18]
jl 0x100d5190
mov esi, dword [esp + 0x30]
or ecx, dword [edi + 8]
inc esi
or edx, dword [edi + 0xc]
add edi, 0x18
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], esi
cmp esi, ebx
jl 0x100d5170
cmp dword [esp + 0x50], ecx
jne 0x100d5252
cmp dword [esp + 0x54], edx
je 0x100d5261
cmp ebx, 4
je 0x100d5261
mov ecx, dword [esp + 0x40]
inc ebx
jmp 0x100d5118
mov ebp, dword [esp + 0x14]
xor esi, esi
test ebx, ebx
jle 0x100d52b5
lea edi, [esp + 0x80]
test ebp, ebp
jne 0x100d52b5
lea eax, [esp + 0x5c]
xor ecx, ecx
push eax
push dword [esp + 0x48]
lea eax, [ebx - 1]
mov edx, edi
push dword [esp + 0x50]
cmp esi, eax
push dword [esp + 0x58]
sete cl
push dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x50]
push esi
call fcn.100d3c70
inc esi
add esp, 0x1c
add edi, 0x18
mov ebp, eax
cmp esi, ebx
jl 0x100d5272
jmp 0x100d52b5
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push dword [ebx + 0xfc]
call fcn.1006de30
mov esi, dword [esp + 0x40]
add esp, 4
mov dword [ebx + 0xfc], 0
test ebp, ebp
je 0x100d5342
push ebp
push esi
call fcn.10064ab0
mov ebx, dword [esp + 0x64]
add esp, 8
test ebx, ebx
je 0x100d5367
cmp dword [0x10104048], 0
je 0x100d5339
mov eax, dword [0x10106638]
test eax, eax
je 0x100d5307
push eax
call dword [0x10104098]
add esp, 4
push ebx
call dword [0x10104074]
sub dword [0x10106460], eax
add esp, 4
dec dword [0x10106484]
push ebx
call dword [0x1010406c]
mov eax, dword [0x10106638]
add esp, 4
test eax, eax
je 0x100d5367
push eax
call dword [0x101040a0]
jmp 0x100d5364
push ebx
call dword [0x1010406c]
jmp 0x100d5364
mov edx, dword [esp + 0x5c]
push fcn.1003f620
push 1
push 0xffffffffffffffff
mov ecx, dword [esi]
call fcn.1005e770
add esp, 0xc
cmp eax, 0x12
jne 0x100d5367
push esi
call fcn.10064b60
add esp, 4
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100dcb60
add esp, 0xd8
ret