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

Disassembly:
push 0xffffffffffffffff
push 0x10174d9b
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x101b01e4]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc8]
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x6c]
xor ebx, ebx
cmp eax, ebx
je 0x100ad633
mov ecx, dword [esi + 0x70]
sub ecx, eax
sar ecx, 4
je 0x100ad633
mov ecx, dword [esi + 0x5c]
cmp ecx, ebx
mov edx, dword [esi + 0x58]
jl 0x100ad633
jg 0x100ad360
cmp edx, ebx
jbe 0x100ad633
mov al, 0x54
mov byte [esp + 0x44], al
mov byte [esp + 0x46], al
xor eax, eax
push ecx
push edx
mov word [esp + 0x4f], 3
mov dword [esp + 0x51], ebx
mov dword [esp + 0x55], ebx
mov word [esp + 0x59], bx
mov dword [esp + 0x5b], ebx
mov byte [esp + 0x4d], 0x50
mov dword [esp + 0x5f], eax
mov dword [esp + 0x63], eax
mov dword [esp + 0x67], eax
mov dword [esp + 0x6b], eax
call fcn.100ef280
add esp, 8
push ebx
mov edi, eax
push 0x400
xor eax, eax
push eax
push edi
call fcn.1014a640
mov ecx, dword [esi + 0x58]
mov ebp, dword [esi + 0x5c]
add ecx, eax
adc ebp, edx
push edx
sub ecx, 1
push eax
sbb ebp, ebx
push ebp
push ecx
call fcn.1014a590
mov ebp, eax
mov eax, dword [esi + 0x58]
lea edx, [ebp - 1]
imul edx, edi
shl edx, 0xa
sub eax, edx
mov dword [esp + 0x53], eax
mov word [esp + 0x51], di
mov dword [esp + 0x4d], ebp
mov word [esp + 0x47], 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x28]
push edx
lea edx, [esp + 0x6b]
push edx
lea edx, [esp + 0x4c]
xor ecx, ecx
push edx
lea eax, [esp + 0x20]
push ecx
push eax
mov ecx, eax
mov dword [esp + 0xd0], ebx
call fcn.10024f70
mov eax, dword [esi + 0x6c]
cmp eax, ebx
jne 0x100ad42c
xor ecx, ecx
jmp 0x100ad434
mov ecx, dword [esi + 0x70]
sub ecx, eax
sar ecx, 4
cmp ebp, ecx
jne 0x100ad622
mov dword [esp + 0x24], 0
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x100ad4d1
mov eax, dword [esi + 0x70]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jae 0x100ad4d1
test ecx, ecx
je 0x100ad46b
mov eax, dword [esi + 0x70]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jb 0x100ad470
call fcn.10149775
mov ebp, dword [esi + 0x6c]
mov ecx, dword [esi + 0x6c]
add ebp, dword [esp + 0x24]
test ecx, ecx
je 0x100ad48a
mov eax, dword [esi + 0x70]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jb 0x100ad48f
call fcn.10149775
mov edi, dword [esi + 0x6c]
mov eax, dword [esp + 0x1c]
add edi, dword [esp + 0x24]
cmp dword [esp + 0x18], eax
mov dword [esp + 0x30], eax
jbe 0x100ad4a9
call fcn.10149775
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push ecx
add ebp, 0x10
push ebp
push edi
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, eax
call fcn.10024f70
add ebx, 1
add dword [esp + 0x24], 0x10
jmp 0x100ad444
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x18], edi
jbe 0x100ad4e0
call fcn.10149775
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esi + 0x14]
push edx
push esi
lea eax, [esp + 0x20]
push edi
push eax
mov ecx, eax
call fcn.10024f70
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
jne 0x100ad515
xor esi, esi
jmp 0x100ad51f
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov esi, eax
jne 0x100ad528
call fcn.10149775
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
push esi
push ecx
call fcn.100e48f3
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.100e589e
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xd4], 1
call fcn.100ec1a0
add esp, 0x18
test al, al
je 0x100ad569
lea ecx, [esp + 0x68]
push ecx
call fcn.100ec22e
add esp, 4
lea ecx, [esp + 0x84]
call fcn.100ec346
push 7
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xc4], 2
call fcn.100ec3a5
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x2c], 0
jne 0x100ad5a4
xor esi, esi
jmp 0x100ad5ae
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov esi, eax
jne 0x100ad5b7
call fcn.10149775
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
push esi
push ecx
lea ecx, [esp + 0x90]
call fcn.100ec053
lea ecx, [esp + 0x84]
call fcn.100ebe52
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x84]
mov dword [eax + 0xc], edx
mov byte [esp + 0xbc], 1
call fcn.100ec367
cmp dword [esp + 0x80], 0x10
jb 0x100ad620
mov eax, dword [esp + 0x6c]
push eax
call fcn.10149646
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x100ad633
push eax
call fcn.10149646
add esp, 4
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.10149c5e
add esp, 0xac
ret 8