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

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x38]
xorps xmm0, xmm0
push ebp
push esi
mov esi, dword [esp + 0x44]
push edi
movlpd qword [esp + 0x28], xmm0
mov dword [ebx], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x20], 0
movlpd qword [esp + 0x20], xmm0
cmp esi, dword [esp + 0x4c]
jg 0x104940c1
mov edi, dword [esp + 0x3c]
lea eax, [esi*8 + 5]
mov edx, dword [esp + 0x40]
add eax, esi
imul ecx, esi, 0x538
add edx, 0x1c
lea ebp, [edi + eax*8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
add edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], ecx
nop dword [eax]
nop word [eax + eax]
cmp byte [edi + esi + 0x24391], 0
mov eax, dword [ebp + 0x1c]
movsx ecx, word [eax]
movsx eax, word [eax + 2]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
je 0x10494099
mov eax, dword [esp + 0x34]
lea edi, [esp + 0x18]
mov ecx, dword [esp + 0x38]
push edi
push dword [edx + 0x10]
mov eax, dword [eax]
push dword [edx]
shl ecx, 6
push dword [ebp]
push dword [ebp - 0x10]
mov eax, dword [ecx + eax + 0xc5d8]
call eax
mov ecx, dword [esp + 0x2c]
mov edi, eax
add dword [esp + 0x58], ecx
lea eax, [esp + 0x3c]
push eax
adc dword [esp + 0x28], 0
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x38]
sub ecx, edi
shr eax, 3
push eax
mov eax, dword [esp + 0x58]
movzx eax, byte [eax + 0x10a22be0]
push eax
push 0
push ecx
call fcn.1007f9a0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x58]
sar eax, 1
add dword [ebx], eax
mov eax, dword [esp + 0x54]
shld ecx, eax, 3
shl eax, 3
add dword [ebx + 8], eax
lea eax, [esp + 0x54]
push eax
adc dword [ebx + 0xc], ecx
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x54]
shr eax, 3
push eax
mov eax, dword [esp + 0x70]
movzx eax, byte [eax + 0x10a22be0]
push eax
push 0
push edi
call fcn.1007f9a0
mov eax, dword [esp + 0x8c]
add esp, 0x44
add dword [ebx], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
shld ecx, eax, 4
shl eax, 4
add dword [ebx + 8], eax
adc dword [ebx + 0xc], ecx
inc esi
add edx, 0x538
add ebp, 0x48
mov dword [esp + 0x14], edx
cmp esi, dword [esp + 0x4c]
jle 0x10493fb0
mov ebp, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
jmp 0x104940d5
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebx]
test eax, eax
jne 0x104940e3
mov byte [ebx + 0x20], 1
mov edx, dword [esp + 0x3c]
imul dword [edx + 0x31cc]
mov esi, eax
mov eax, dword [esp + 0x4c]
add esi, 0x100
adc edx, 0
shld eax, ebp, 7
shrd esi, edx, 9
shl ebp, 7
sar edx, 9
add esi, ebp
mov ebp, ecx
adc edx, eax
mov eax, edi
shld eax, ebp, 0xb
shl ebp, 0xb
cmp edx, eax
jl 0x1049414c
jg 0x10494123
cmp esi, ebp
jb 0x1049414c
mov eax, ecx
mov dword [ebx], 0
mov ecx, edi
mov byte [ebx + 0x20], 1
shld ecx, eax, 4
mov edx, edi
pop edi
pop esi
shl eax, 4
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x3c]
pop ebp
mov dword [ebx + 0xc], ecx
pop ebx
add esp, 0x20
ret
mov edx, edi
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret