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

Disassembly:
sub esp, 0x10c
mov eax, dword [0x104fb780]
xor eax, esp
mov dword [esp + 0x108], eax
mov ecx, dword [esp + 0x110]
push ebx
mov ebx, dword [esp + 0x120]
push ebp
mov edx, dword [ecx + 0x78]
mov ebp, dword [esp + 0x120]
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [esp + 0x120]
push edi
mov edi, dword [esi + 4]
cmp edx, 0xffffffff
je 0x101c47cb
test bl, 8
jne 0x101c47cb
test dword [edi + 4], 0x7fff0000
jne 0x101c47cb
test dword [edi + 8], 0x8000
jne 0x101c47cb
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [edi + 0x21c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x108]
push eax
lea eax, [esi + 0x4c]
push eax
push dword [edi + 0x68]
mov eax, dword [ecx + 0x48]
push ebx
push ebp
push edx
push edi
call eax
mov edx, eax
add esp, 0x1c
test edx, edx
jne 0x101c44c7
movzx ecx, word [esp + 0x10a]
mov dword [esi + 0x6c], eax
movzx eax, word [esp + 0x108]
shl eax, 6
mov dword [esi + 0x1c], eax
shl ecx, 6
mov dword [esi + 0x18], ecx
movsx ecx, word [esp + 0x10c]
mov eax, ecx
mov dword [esi + 0x48], 0x62697473
shl eax, 6
mov dword [esi + 0x20], eax
movsx eax, word [esp + 0x10e]
shl eax, 6
mov dword [esi + 0x24], eax
movzx eax, word [esp + 0x110]
shl eax, 6
mov dword [esi + 0x28], eax
movsx eax, word [esp + 0x112]
shl eax, 6
mov dword [esi + 0x2c], eax
movsx eax, word [esp + 0x114]
shl eax, 6
mov dword [esi + 0x30], eax
movzx eax, word [esp + 0x116]
shl eax, 6
mov dword [esi + 0x34], eax
test bl, 0x10
je 0x101c44b9
movsx eax, word [esp + 0x112]
mov dword [esi + 0x64], eax
movsx eax, word [esp + 0x114]
jmp 0x101c44c4
movsx eax, word [esp + 0x10e]
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], eax
mov eax, dword [esi + 4]
cmp dl, 0x9d
jne 0x101c4642
test byte [eax + 8], 1
jne 0x101c47c7
cmp dword [edi + 0x2fc], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
je 0x101c4651
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push edi
call fcn.101c3a50
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push ebp
push edi
call fcn.101c3a80
xor eax, eax
add esp, 0x24
mov dword [esi + 0x6c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
movsx eax, word [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x20], eax
movzx eax, word [esp + 0x28]
mov dword [esi + 0x24], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x28], eax
movsx eax, word [esp + 0x1c]
mov dword [esi + 0x2c], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x30], eax
movzx eax, word [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
xor eax, eax
mov dword [esi + 0x48], 0x62697473
mov byte [esi + 0x5e], 1
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
jmp 0x101c4a7f
mov eax, dword [eax + 8]
test edx, edx
je 0x101c4658
test al, 1
jne 0x101c47c7
mov eax, edx
jmp 0x101c4a7f
test eax, 0x20001
je 0x101c47c0
push 1
push ebx
push esi
push dword [esp + 0x24]
lea eax, [esp + 0x40]
push eax
call fcn.101cc610
push 1
push 0
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.101ca920
lea eax, [esp + 0x54]
push eax
call fcn.101cc5f0
mov eax, dword [esp + 0x94]
add esp, 0x28
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0xe0]
mov dword [esi + 0x3c], eax
cmp dword [edi + 0x328], 3
jne 0x101c4744
cmp word [esp + 0x50], 0
jle 0x101c4744
test bl, 0x10
je 0x101c46d4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xdc]
jmp 0x101c46e0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sar eax, 6
add dword [esi + 0x64], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sar eax, 6
add dword [esi + 0x68], eax
cmp dword [esi + 0x28], 0
jne 0x101c4782
mov eax, dword [esi + 0x38]
test eax, eax
je 0x101c4782
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x28], eax
cmp dword [esi + 0x34], 0
jne 0x101c47c0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x101c47c0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
xor eax, eax
jmp 0x101c4a7f
mov ecx, dword [esp + 0x18]
test ebx, 0x4000
je 0x101c47dd
mov edi, 6
jmp 0x101c4a7d
mov eax, ebx
and eax, 1
mov dword [esp + 0x14], eax
jne 0x101c47f8
cmp byte [ecx + 0x70], 0
jne 0x101c47f8
mov edi, 0x24
jmp 0x101c4a7d
test ebx, 0x1000000
jne 0x101c4906
test ebx, 0x100000
je 0x101c4906
cmp dword [edi + 0x378], 0
je 0x101c4906
mov eax, dword [edi + 0x21c]
mov dword [esp + 0x10], eax
push ebp
push esi
mov eax, dword [eax + 0xb4]
call eax
add esp, 8
test eax, eax
jne 0x101c4906
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
mov dword [esi + 0x48], 0x53564720
push eax
mov eax, dword [ebx + 0xa0]
push ebp
push 0
push edi
call eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebx + 0xa0]
push ebp
push 1
push edi
call eax
movzx ecx, word [esp + 0x4c]
add esp, 0x28
movzx eax, word [esp + 0x28]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x28], eax
movzx eax, word [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
xor eax, eax
jmp 0x101c4a7f
test ebx, 0x800000
jne 0x101c47d3
push 0
push ebx
push esi
push dword [esp + 0x24]
lea eax, [esp + 0x40]
push eax
call fcn.101cc610
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x101c4a7d
mov ecx, ebx
and ecx, 0x110
cmp ecx, 0x100
jne 0x101c495b
mov eax, dword [esp + 0x104]
test eax, eax
je 0x101c495b
movzx eax, byte [eax + ebp]
shl eax, 6
mov dword [esi + 0x28], eax
jmp 0x101c4a62
push 0
push 0
lea eax, [esp + 0x38]
mov dword [esi + 0x48], 0x6f75746c
push ebp
push eax
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
call fcn.101ca920
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x101c4a46
cmp dword [esi + 0x48], 0x636f6d70
jne 0x101c49b0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x80], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x84], eax
jmp 0x101c49e1
mov eax, dword [esp + 0x3c]
lea ecx, [esi + 0x6c]
movups xmm0, xmmword [eax + 0x14]
movups xmmword [ecx], xmm0
mov eax, dword [eax + 0x24]
mov dword [ecx + 0x10], eax
and dword [esi + 0x7c], 0xfffffdff
mov eax, dword [esp + 0x74]
test eax, eax
je 0x101c49e1
push 0
neg eax
push eax
push ecx
call fcn.101b1fd0
add esp, 0xc
test bl, 2
jne case.0x101c4a19.1
mov ecx, dword [esp + 0xcc]
mov eax, dword [ecx + 0x198]
mov dword [esi + 0x88], eax
mov eax, dword [ecx + 0x194]
mov dword [esi + 0x8c], eax
cmp byte [ecx + 0x155], 0
je case.0x101c4a19.2
mov eax, dword [ecx + 0x158]
cmp eax, 5
ja case.0x101c4a19.2
jmp dword [eax*4 + 0x101c4a98]
or dword [esi + 0x7c], 0x20
jmp case.0x101c4a19.1
or dword [esi + 0x7c], 0x30
jmp case.0x101c4a19.1
or dword [esi + 0x7c], 0x10
jmp case.0x101c4a19.1
or dword [esi + 0x7c], 8
lea eax, [esp + 0x30]
push ebp
push eax
call fcn.101c9030
add esp, 8
mov edi, eax
cmp dword [esp + 0x14], 0
jne 0x101c4a62
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x2c]
cmp word [eax + 2], 0x18
jae 0x101c4a62
or dword [esi + 0x7c], 0x100
mov eax, dword [esp + 0x30]
push 0
push dword [eax + 0x64]
lea eax, [esp + 0x104]
push 0
push eax
call fcn.101b0110
add esp, 0x10
mov eax, edi
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011f88a
add esp, 0x10c
ret