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

Disassembly:
sub esp, 0x238
mov eax, dword [0x101733b8]
xor eax, esp
mov dword [esp + 0x234], eax
mov ecx, dword [esp + 0x23c]
push ebx
push ebp
push esi
mov eax, dword [ecx]
mov esi, dword [esp + 0x24c]
mov dword [esp + 0x58], ecx
push edi
mov eax, dword [eax + 0xc]
lea edi, [ecx + 0x245c]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x4c], edi
lea ebx, [eax*8 + 0x1013af40]
mov eax, 0x24924925
mul ecx
lea eax, [esp + 0x80]
mov dword [esp + 0x18], ebx
sub ecx, edx
shr ecx, 1
push eax
add ecx, edx
push 4
push dword [esi + 0x64]
shr ecx, 3
mov dword [esp + 0x84], ecx
call fcn.100bca70
mov ecx, dword [ebx]
add esp, 0xc
mov dword [esp + 0x58], eax
cmp ecx, 0x1469
je 0x100c51c2
nop dword [eax]
mov al, byte [ecx + 0x10139ad0]
lea edx, [ecx + 0x10139ad0]
xor edi, edi
mov dword [esp + 0x50], 0
xor ebp, ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x54], edi
test al, al
je 0x100c51a0
nop dword [eax]
mov byte [esp + 0x12], 0
cmp al, 0x20
jne 0x100c4976
nop dword [eax]
inc edx
cmp byte [edx], 0x20
je 0x100c4970
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x64]
push edx
call fcn.100c65f0
mov edx, eax
add esp, 0x10
mov eax, dword [esp + 0x64]
mov dword [esp + 0x7c], edx
test eax, eax
je 0x100c4ff3
test byte [ebx + 4], 1
mov ecx, 0
mov dword [esp + 0x60], 0
setne cl
add ecx, 0x7fffffff
test eax, eax
je 0x100c4d1c
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x58]
mov byte [esp + 0x11], 0
mov eax, dword [eax]
test eax, eax
je 0x100c4d01
push 1
push eax
push esi
call fcn.100b7d60
mov ecx, dword [esi + 0x54]
add esp, 0xc
movups xmm0, xmmword [ecx + 0x6c]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x94], ecx
movups xmmword [esp + 0x84], xmm0
test eax, eax
jne 0x100c4cfd
mov ecx, dword [esp + 0x84]
mov eax, ecx
shr eax, 0x10
cmp ax, 2
jle 0x100c4cfd
movsx esi, cx
xor edi, edi
mov dword [esp + 0x1c], esi
xor eax, eax
mov ecx, dword [esp + 0x1c]
xor esi, esi
or ebx, 0xffffffff
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], esi
test ecx, ecx
jle 0x100c4f97
mov edx, dword [esp + 0x90]
nop dword [eax]
movsx esi, word [edx + esi*2]
mov dword [esp + 0x34], ebx
cmp esi, eax
jle 0x100c4af8
mov ecx, dword [esp + 0x18]
mov edx, eax
test byte [ecx + 4], 3
mov ecx, dword [esp + 0x88]
lea ecx, [ecx + eax*8]
jne 0x100c4aad
add ecx, 4
nop dword [eax]
test ebx, ebx
js 0x100c4a92
mov eax, dword [ecx]
cmp eax, edi
jl 0x100c4a92
cmp ebp, eax
jg 0x100c4aa3
mov ebp, eax
jmp 0x100c4aa3
mov eax, dword [esp + 0x54]
mov ebx, edx
mov edi, dword [ecx]
cmp eax, edi
cmovge eax, edi
mov dword [esp + 0x54], eax
inc edx
add ecx, 8
cmp edx, esi
jle 0x100c4a80
jmp 0x100c4ad7
add ecx, 4
test ebx, ebx
js 0x100c4ac6
mov eax, dword [ecx]
cmp eax, edi
jg 0x100c4ac6
cmp dword [esp + 0x54], eax
jl 0x100c4acf
mov dword [esp + 0x54], eax
jmp 0x100c4acf
mov edi, dword [ecx]
mov ebx, edx
cmp ebp, edi
cmovle ebp, edi
inc edx
add ecx, 8
cmp edx, esi
jle 0x100c4ab0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x20], ebp
cmp ebx, dword [esp + 0x34]
je 0x100c4af8
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], esi
lea eax, [esi + 1]
mov esi, dword [esp + 0x38]
inc esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], esi
cmp esi, ecx
jl 0x100c4a50
test ebx, ebx
js 0x100c4f97
mov eax, dword [esp + 0x88]
or edx, 0xffffffff
mov esi, dword [esp + 0x8c]
mov ecx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [eax + ebx*8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x38], ebx
mov al, byte [eax + ebx]
and al, 3
cmp al, 1
cmove edx, ebx
mov ebp, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
nop dword [eax]
cmp ecx, dword [esp + 0x3c]
jle 0x100c4b69
dec ecx
jmp 0x100c4b6d
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x88]
mov edx, dword [eax + ecx*8 + 4]
mov eax, edx
sub eax, edi
jns 0x100c4b82
mov eax, edi
sub eax, edx
cmp eax, 5
jle 0x100c4bc0
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x88]
mov ebp, dword [edx + ecx*8]
mov edx, ebp
sub edx, dword [esi + ebx*8]
mov esi, dword [esp + 0x8c]
jns 0x100c4bb2
mov edx, dword [esp + 0x88]
mov edx, dword [edx + ebx*8]
sub edx, ebp
lea eax, [eax + eax*4]
shl eax, 2
cmp edx, eax
jle 0x100c4bde
mov ebp, dword [esp + 0x44]
mov al, byte [ecx + esi]
and al, 3
mov dword [esp + 0x14], ecx
cmp al, 1
jne 0x100c4bda
test ebp, ebp
mov dword [esp + 0x40], ecx
cmovs ebp, ecx
mov dword [esp + 0x44], ebp
cmp ecx, ebx
jne 0x100c4b60
mov esi, dword [esp + 0x38]
cmp esi, dword [esp + 0x30]
jge 0x100c4beb
inc esi
jmp 0x100c4bef
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + esi*8 + 4]
lea edx, [eax + esi*8]
mov eax, ecx
mov dword [esp + 0x74], edx
sub eax, edi
jns 0x100c4c0b
mov eax, edi
sub eax, ecx
mov ebp, dword [esp + 0x2c]
cmp eax, 5
jle 0x100c4c2a
mov edx, dword [edx]
mov ecx, edx
sub ecx, ebp
jns 0x100c4c20
mov ecx, ebp
sub ecx, edx
lea eax, [eax + eax*4]
shl eax, 2
cmp ecx, eax
jle 0x100c4c53
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c], esi
mov al, byte [esi + eax]
and al, 3
cmp al, 1
jne 0x100c4c4f
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x44], esi
cmovs eax, esi
mov dword [esp + 0x40], eax
cmp esi, ebx
jne 0x100c4be2
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 4]
test al, 0x10
je 0x100c4f2c
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
mov ecx, dword [eax + 0x28]
mov eax, 0x51eb851f
mul ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x88]
shr edx, 3
mov dword [esp + 0x6c], edx
mov esi, dword [ecx + esi*8]
mov eax, dword [ecx + eax*8]
mov ecx, eax
sub ecx, esi
sub esi, eax
test ecx, ecx
cmovns esi, ecx
cmp esi, edx
mov esi, dword [esp + 0x1c]
jge 0x100c4f30
mov eax, dword [esp + 0x30]
mov ecx, esi
sub ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
add ecx, 2
sub eax, edx
cmp ecx, eax
jg 0x100c4f30
shr dword [esp + 0x38], 2
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov eax, ebx
cmp eax, edx
jle 0x100c4cdb
dec eax
jmp 0x100c4cdf
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x88]
mov ecx, dword [ecx + eax*8]
cmp ecx, ebp
jne 0x100c4d50
cmp eax, ebx
jne 0x100c4cd4
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x60], eax
cmp eax, dword [esp + 0x64]
jb 0x100c49c4
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0x68]
cmp ecx, 0x80000000
je 0x100c4ff3
cmp ecx, 0x7fffffff
je 0x100c4ff3
cmp byte [esp + 0x12], 0
je 0x100c4fe3
mov dword [esp + edi*4 + 0xac], ecx
inc edi
mov dword [esp + 0x68], edi
jmp 0x100c4ff3
cmp eax, ebx
je 0x100c4cf1
cmp ecx, ebp
mov ebp, dword [esp + 0x14]
mov ecx, esi
setl dh
mov dword [esp + 0x48], ecx
xor al, al
mov byte [esp + 0x13], dh
mov byte [esp + 0x11], al
nop dword [eax]
test al, al
jne 0x100c4d9d
mov eax, dword [esp + 0x8c]
or ebx, 0xffffffff
mov ecx, esi
mov byte [esp + 0x11], 1
mov dword [esp + 0x48], ecx
mov al, byte [esi + eax]
and al, 3
cmp al, 1
cmove ebx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
jmp 0x100c4da1
mov ebx, dword [esp + 0x34]
cmp esi, dword [esp + 0x30]
jge 0x100c4daa
inc esi
jmp 0x100c4dae
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + ecx*8 + 4]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x70], ecx
jns 0x100c4dc7
mov eax, ecx
sub eax, edi
cmp eax, dword [esp + 0x38]
jle 0x100c4dd8
xor al, al
mov byte [esp + 0x11], al
jmp 0x100c4e7a
mov eax, dword [esp + 0x88]
mov eax, dword [eax + esi*8 + 4]
mov ebp, eax
sub ebp, ecx
jns 0x100c4ded
mov ebp, ecx
sub ebp, eax
cmp ebp, 5
jle 0x100c4e2a
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x48]
mov eax, dword [ecx + esi*8]
mov edx, dword [ecx + edx*8]
mov ecx, eax
sub ecx, edx
sub edx, eax
test ecx, ecx
lea eax, [ebp*4]
cmovns edx, ecx
add eax, ebp
shl eax, 2
cmp edx, eax
mov dh, byte [esp + 0x13]
jg 0x100c4e2a
xor al, al
mov byte [esp + 0x11], al
jmp 0x100c4e76
mov eax, dword [esp + 0x8c]
mov al, byte [esi + eax]
and al, 3
cmp al, 1
jne 0x100c4e47
test ebx, ebx
mov dword [esp + 0x2c], esi
cmovs ebx, esi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x88]
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx + esi*8]
mov ebx, dword [ebx + eax*8]
cmp ebx, ecx
mov eax, ecx
setl dl
sub eax, ebx
sub ebx, ecx
test eax, eax
cmovns ebx, eax
cmp dl, dh
jne 0x100c4e72
cmp ebx, dword [esp + 0x6c]
jge 0x100c4e8b
mov al, byte [esp + 0x11]
mov ebp, dword [esp + 0x14]
cmp esi, ebp
je 0x100c4f26
mov ecx, dword [esp + 0x48]
jmp 0x100c4d70
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x2c]
cmp esi, dword [esp + 0x30]
jge 0x100c4e9c
inc esi
jmp 0x100c4ea0
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x88]
mov ecx, dword [edx + esi*8 + 4]
mov eax, ecx
sub eax, edi
jns 0x100c4eb5
mov eax, edi
sub eax, ecx
cmp eax, 5
jle 0x100c4ee0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x48]
mov edx, dword [edx + ecx*8]
mov ecx, dword [eax]
sub ecx, edx
sub edx, dword [eax]
test ecx, ecx
lea eax, [ebp*4]
cmovns edx, ecx
add eax, ebp
shl eax, 2
cmp edx, eax
jle 0x100c4f07
mov eax, dword [esp + 0x8c]
mov al, byte [esi + eax]
and al, 3
cmp al, 1
jne 0x100c4efd
mov eax, dword [esp + 0x34]
test eax, eax
cmovs eax, esi
mov dword [esp + 0x34], eax
mov ebx, esi
cmp esi, dword [esp + 0x14]
je 0x100c4f1c
jmp 0x100c4e93
cmp esi, dword [esp + 0x3c]
jle 0x100c4f18
mov ebp, dword [esp + 0x48]
dec esi
mov edx, dword [esp + 0x34]
jmp 0x100c4f3c
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
jmp 0x100c4f3c
mov esi, dword [esp + 0x1c]
jmp 0x100c4f34
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
test edx, edx
js 0x100c4f62
test ebx, ebx
js 0x100c4f62
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + edx*8]
mov eax, dword [ecx + ebx*8]
mov ecx, eax
sub ecx, edx
sub edx, eax
test ecx, ecx
cmovns edx, ecx
cmp edx, dword [esp + 0x78]
jg 0x100c4f92
mov ecx, dword [esp + 0x8c]
mov al, byte [ecx + ebp]
and al, 3
cmp al, 1
jne 0x100c4f7b
mov al, byte [ecx + esi]
and al, 3
cmp al, 1
je 0x100c4f92
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x11], 1
movzx eax, word [ebx + 4]
test al, 4
jne 0x100c4cf5
jmp 0x100c4f9b
mov byte [esp + 0x11], 0
mov ebx, dword [esp + 0x18]
test byte [ebx + 4], 1
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
je 0x100c4fc8
cmp edi, ecx
jle 0x100c4d01
mov dl, byte [esp + 0x11]
mov ecx, edi
mov dword [esp + 0x24], ecx
mov byte [esp + 0x12], dl
jmp 0x100c4d01
cmp edi, ecx
jge 0x100c4d01
mov al, byte [esp + 0x11]
mov ecx, edi
mov dword [esp + 0x24], ecx
mov byte [esp + 0x12], al
jmp 0x100c4d01
mov eax, dword [esp + 0x50]
mov dword [esp + eax*4 + 0x178], ecx
inc eax
mov dword [esp + 0x50], eax
mov al, byte [edx]
test al, al
jne 0x100c4960
mov edx, dword [esp + 0x50]
test edx, edx
jne 0x100c500d
test edi, edi
je 0x100c51a0
mov esi, 1
cmp edi, esi
jbe 0x100c505e
nop word [eax + eax]
mov eax, esi
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [esp + eax*4 + 0xa8]
mov edx, dword [esp + eax*4 + 0xac]
cmp edx, ecx
jge 0x100c5055
mov dword [esp + eax*4 + 0xac], ecx
mov dword [esp + eax*4 + 0xa8], edx
sub eax, 1
jne 0x100c5030
inc esi
cmp esi, edi
jb 0x100c5020
mov edx, dword [esp + 0x50]
mov esi, 1
cmp edx, esi
jbe 0x100c50e5
nop word [eax + eax]
mov eax, esi
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [esp + eax*4 + 0x174]
mov edx, dword [esp + eax*4 + 0x178]
cmp edx, ecx
jge 0x100c50a5
mov dword [esp + eax*4 + 0x178], ecx
mov dword [esp + eax*4 + 0x174], edx
sub eax, 1
jne 0x100c5080
mov edx, dword [esp + 0x50]
inc esi
cmp esi, edx
jb 0x100c5070
mov esi, dword [esp + 0x4c]
mov ecx, dword [esi + 0xd8]
lea eax, [ecx + ecx*8]
lea esi, [esi + eax*4]
lea eax, [ecx + 1]
add esi, 0xdc
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0xd8], eax
shr edx, 1
mov eax, dword [esp + edx*4 + 0x178]
test edi, edi
jne 0x100c511c
mov dword [esi + 0xc], eax
mov dword [esi], eax
jmp 0x100c512a
mov esi, dword [esp + 0x4c]
mov ecx, dword [esi + 0xd8]
lea eax, [ecx + ecx*8]
lea esi, [esi + eax*4]
lea eax, [ecx + 1]
add esi, 0xdc
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0xd8], eax
test edx, edx
jne 0x100c50d1
shr edi, 1
mov eax, dword [esp + edi*4 + 0xac]
mov dword [esi + 0xc], eax
mov dword [esi], eax
jmp 0x100c512a
shr edi, 1
mov dword [esi], eax
mov eax, dword [esp + edi*4 + 0xac]
mov dword [esi + 0xc], eax
mov edi, dword [esi + 0xc]
mov edx, dword [esi]
cmp edi, edx
je 0x100c5157
test byte [ebx + 4], 3
mov ecx, 0
setne cl
xor eax, eax
cmp edi, edx
setg al
cmp eax, ecx
je 0x100c5157
lea eax, [edi + edx]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0xc], eax
mov dword [esi], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x18], ebp
mov dword [esi + 0x20], 0
test byte [ebx + 4], 1
je 0x100c517c
mov dword [esi + 0x20], 2
mov eax, 2
test byte [ebx + 4], 2
je 0x100c5188
or eax, 4
mov dword [esi + 0x20], eax
test byte [ebx + 4], 4
je 0x100c5194
or eax, 8
mov dword [esi + 0x20], eax
test byte [ebx + 4], 8
je 0x100c51a0
or eax, 0x10
mov dword [esi + 0x20], eax
mov ecx, dword [ebx + 8]
add ebx, 8
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
cmp ecx, 0x1469
jne 0x100c4930
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
push eax
push dword [esi + 0x64]
call fcn.100bcad0
mov ebp, dword [edi + 0xd8]
add esp, 8
test ebp, ebp
je 0x100c5297
xor eax, eax
test ebp, ebp
je 0x100c51ff
lea ecx, [edi + 0xdc]
nop dword [eax + eax]
mov dword [esp + eax*4 + 0x84], ecx
inc eax
add ecx, 0x24
cmp eax, ebp
jb 0x100c51f0
mov ebx, 1
cmp ebp, ebx
jbe 0x100c525a
nop dword [eax + eax]
mov edx, ebx
mov eax, dword [esp + edx*4 + 0x80]
test byte [eax + 0x20], 6
je 0x100c5223
mov esi, dword [eax]
jmp 0x100c5226
mov esi, dword [eax + 0xc]
mov ecx, dword [esp + edx*4 + 0x84]
test byte [ecx + 0x20], 6
je 0x100c5237
mov edi, dword [ecx]
jmp 0x100c523a
mov edi, dword [ecx + 0xc]
cmp edi, esi
jge 0x100c5251
mov dword [esp + edx*4 + 0x84], eax
mov dword [esp + edx*4 + 0x80], ecx
sub edx, 1
jne 0x100c5212
inc ebx
cmp ebx, ebp
jb 0x100c5210
mov edi, dword [esp + 0x4c]
lea eax, [ebp - 1]
xor edx, edx
test eax, eax
je 0x100c5297
mov eax, dword [esp + edx*4 + 0x84]
test byte [eax + 0x20], 6
je 0x100c5273
add eax, 0xc
mov ecx, dword [esp + edx*4 + 0x88]
test byte [ecx + 0x20], 6
je 0x100c5283
add ecx, 0xc
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x100c528b
mov dword [eax], ecx
mov eax, dword [edi + 0xd8]
inc edx
dec eax
cmp edx, eax
jb 0x100c5263
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100b5418
add esp, 0x238
ret