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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x54]
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
push dword [esp + 0x74]
mov esi, dword [ebp + 0x198]
push dword [ebp + 0x64]
push eax
call fcn.01ad82bc
mov ecx, dword [ebp + 0x60]
mov edx, eax
mov eax, dword [ebp + 0x1a0]
add esp, 0xc
mov ebx, dword [ebp + 8]
dec ecx
and dword [esp + 0x30], 0
and dword [esp + 0x34], 0
mov dword [esp + 0x24], eax
xor eax, eax
inc eax
mov edi, dword [esi + edx*4]
shl eax, cl
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [esp + 0x44], ebx
add ebx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x64]
sub ebx, eax
mov dword [esp + 0x28], ecx
add ecx, eax
mov dword [esp + 0x2c], eax
mov eax, ebx
mov dword [esp + 0x48], ecx
sub eax, dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
sbb ecx, ecx
and dword [esp + 0x1c], 0
and ecx, eax
mov eax, dword [ebp + 0x10]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov eax, ebx
and eax, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + edx*4], ebp
mov edx, dword [esp + 0x70]
lea eax, [ecx + eax*8]
mov dword [esp + 0x10], eax
lea ebx, [eax + 4]
mov dword [esp + 0x18], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x54], ecx
mov ebx, ecx
mov ecx, dword [esp + 0x64]
test edx, edx
je 0x1ad8daf
dec edx
mov dword [esp + 0x70], edx
cmp edi, dword [esp + 0x40]
jbe 0x1ad8dab
mov edx, dword [esp + 0x24]
mov eax, edi
and eax, dword [esp + 0x14]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x30], edx
mov esi, edx
mov dword [esp + 0x3c], eax
cmovb esi, dword [esp + 0x30]
cmp dword [esp + 0x78], 0
je 0x1ad8cb5
lea eax, [esi + edi]
cmp eax, dword [esp + 0x28]
jae 0x1ad8cb5
push dword [esp + 0x48]
mov ebp, dword [esp + 0x48]
push dword [esp + 0x50]
add ebp, edi
push dword [esp + 0x70]
lea eax, [esi + ebp]
push eax
lea eax, [esi + ecx]
push eax
call fcn.01ad73e0
mov ecx, dword [esp + 0x78]
add esi, eax
add esp, 0x14
lea eax, [esi + edi]
cmp eax, dword [esp + 0x28]
jb 0x1ad8ce2
mov ebp, dword [esp + 0x2c]
add ebp, edi
jmp 0x1ad8ce2
mov ebp, dword [esp + 0x2c]
add ebp, edi
mov al, byte [esi + ebp]
cmp al, byte [esi + ecx]
jne 0x1ad8ce2
push dword [esp + 0x68]
lea eax, [esi + 1]
add eax, ebp
push eax
lea eax, [esi + 1]
add eax, ecx
push eax
call fcn.01ad7338
mov ecx, dword [esp + 0x70]
inc esi
add esp, 0xc
add esi, eax
cmp esi, dword [esp + 0x1c]
jbe 0x1ad8d46
mov eax, ebx
lea ecx, [esi + edi]
sub eax, edi
cmp esi, eax
mov eax, dword [esp + 0x20]
cmovbe ecx, ebx
and dword [esp + 0x50], 0
and dword [esp + 0x58], 0
sub eax, edi
mov dword [esp + 0x50], eax
mov ebx, ecx
inc eax
bsr edx, eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
inc eax
bsr ecx, eax
mov eax, esi
sub eax, dword [esp + 0x1c]
sub edx, ecx
shl eax, 2
cmp eax, edx
jle 0x1ad8d38
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x50]
add eax, 2
mov dword [esp + 0x1c], esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x64]
add ecx, esi
cmp ecx, dword [esp + 0x68]
je 0x1ad8dab
jmp 0x1ad8d48
add ecx, esi
mov al, byte [esi + ebp]
cmp al, byte [ecx]
jae 0x1ad8d6e
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], esi
mov dword [eax], edi
cmp edi, dword [esp + 0x38]
jbe 0x1ad8d9d
mov eax, dword [esp + 0x3c]
add eax, 4
mov dword [esp + 0x10], eax
mov edi, dword [eax]
jmp 0x1ad8d8c
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov dword [ecx], edi
cmp edi, dword [esp + 0x38]
jbe 0x1ad8da3
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x70]
test edx, edx
je 0x1ad8daf
mov ecx, dword [esp + 0x64]
jmp 0x1ad8c3d
lea eax, [esp + 0x64]
jmp 0x1ad8daf
lea eax, [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
inc edx
pop edi
and dword [ecx], 0
lea ecx, [ebx - 8]
and dword [eax], 0
cmp ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
cmova edx, ecx
mov ecx, dword [esp + 0x5c]
pop esi
pop ebp
pop ebx
mov dword [ecx + 0x14], edx
add esp, 0x4c
ret