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

Disassembly:
sub esp, 0x28
mov eax, dword [0x100955e4]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
mov ebp, dword [esp + 0x34]
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x74]
mov ecx, dword [eax + 0x24]
mov eax, 0xaaaaaaab
add ecx, ecx
mul ecx
shr edx, 1
xor eax, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x10014670
cmp dword [esi + 0x14], 0
movsx ecx, byte [ebp + 0x44]
mov dword [esp + 0x14], ecx
jge 0x10014697
push esi
call fcn.100165b0
add esp, 4
test eax, eax
jne 0x10014978
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov al, byte [esi + 0xc]
test ecx, ecx
jne 0x100147de
test al, al
je 0x10014978
mov ecx, dword [esi + 0x48]
xor edi, edi
mov ebx, dword [esi + 0x34]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x10], ebx
je 0x100146dc
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x100146dc
cmp dword [edx + 0x60], edi
je 0x10014713
push ecx
call fcn.10070eb0
jmp 0x10014702
mov ebx, dword [edx + 0x28]
test ebx, ebx
jne 0x10014962
mov eax, dword [edx + 0x94]
push ecx
cmp eax, dword [edx + 0x98]
jbe 0x100146fd
call fcn.1002bf80
jmp 0x10014702
call fcn.1002d120
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10014962
mov ebx, dword [esp + 0x10]
push 0
push dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.100127a0
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push edi
push esi
call fcn.1001c2f0
mov eax, dword [esp + 0x34]
add esp, 0x20
cmp byte [ebx + 0x11], 0
mov dword [esp + 0x14], eax
je 0x10014761
lea ecx, [esp + 0x10]
push ecx
push dword [esi + 4]
push 5
push eax
push ebx
call fcn.1002ee30
add esp, 0x14
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x10014962
movzx eax, byte [esi + 0xc]
add eax, eax
push eax
lea eax, [esi + 0x1c]
push eax
lea eax, [edi + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [esi + 0xc]
shl eax, 2
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [edi + 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov al, byte [esi + 0xc]
mov byte [edi + 0xc], al
mov eax, dword [edi + 0x38]
movzx eax, byte [eax]
and eax, 0xfffffff7
push eax
push esi
call fcn.10084110
mov eax, dword [esi + 0x38]
add esp, 0x20
movzx ecx, byte [esi + 9]
mov edx, dword [esp + 0x14]
bswap edx
mov dword [ecx + eax + 8], edx
xor eax, eax
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x7c], edi
mov byte [ebp + 0x44], 1
mov dword [ebp + 0x46], eax
mov dword [ebp + 0x78], esi
mov esi, dword [ebp + 0x7c]
mov dword [ebp + 0x74], esi
jmp 0x10014670
test al, al
jne 0x100147eb
cmp dword [esi + 0x14], edx
jle 0x10014978
mov edi, dword [ebp + ecx*4 + 0x74]
movzx eax, word [ebp + ecx*2 + 0x46]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x1001481a
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x1001481a
cmp dword [edx + 0x60], 0
je 0x1001484d
push ecx
call fcn.10070eb0
jmp 0x10014840
mov ebx, dword [edx + 0x28]
test ebx, ebx
jne 0x100148ed
mov eax, dword [edx + 0x94]
push ecx
cmp eax, dword [edx + 0x98]
jbe 0x1001483b
call fcn.1002bf80
jmp 0x10014840
call fcn.1002d120
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100148ed
cmp dword [edi + 0x14], 0
jge 0x10014866
push edi
call fcn.100165b0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100148ed
cmp byte [esi + 3], 0
je 0x100148a1
cmp byte [esi + 0xc], 1
jne 0x100148a1
mov ax, word [esi + 0x1c]
cmp ax, word [esi + 0x18]
jne 0x100148a1
cmp dword [edi + 4], 1
mov ebx, dword [esp + 0x10]
je 0x100148a5
movzx eax, word [edi + 0x18]
cmp eax, ebx
jne 0x100148a5
lea eax, [esp + 0x24]
push eax
push esi
push edi
call fcn.10015e50
add esp, 0xc
mov ebx, eax
jmp 0x100148ed
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
push dword [eax + 0x20]
call fcn.1002e230
movzx ecx, byte [ebp + 3]
and ecx, 1
mov dword [esp + 0x1c], eax
push ecx
xor ecx, ecx
cmp dword [esp + 0x1c], 1
sete cl
push ecx
push eax
push ebx
push edi
call fcn.100149a0
mov ebx, eax
add esp, 0x18
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100148e5
push eax
call fcn.1002e6c0
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov edx, dword [esi + 0x48]
mov byte [esi + 0xc], 0
test byte [edx + 0x1c], 0x20
je 0x10014939
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10084590
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x10014942
push edx
call fcn.10050280
add esp, 4
mov cl, byte [ebp + 0x44]
movsx esi, cl
lea eax, [ecx - 1]
mov byte [ebp + 0x44], al
mov esi, dword [ebp + esi*4 + 0x74]
mov dword [ebp + 0x74], esi
test ebx, ebx
jne 0x10014978
mov edx, dword [esp + 0x1c]
jmp 0x10014670
mov dword [ebp + 0x7c], 0
test edi, edi
je 0x10014978
push dword [edi + 0x48]
call fcn.1004f580
add esp, 4
mov eax, dword [esp + 0x20]
pop edi
test eax, eax
je 0x1001498a
push eax
call fcn.1002e6c0
add esp, 4
mov ecx, dword [esp + 0x30]
mov eax, ebx
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100843e0
add esp, 0x28
ret