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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
jmp 0x1001adb5
mov eax, dword [esi]
cmp eax, 0x64
jne 0x1001ae43
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov ebx, edi
call fcn.1000e010
test eax, eax
je 0x1001ae1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x13
jne 0x1001ade8
mov byte [0x10068cd8], 1
mov edx, dword [0x1006c620]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001adf3
sub eax, edi
push eax
push edx
lea ecx, [esi + 4]
call fcn.10001fc0
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x10
call fcn.100102c0
test eax, eax
jne 0x1001b08c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x202
jl 0x1001b0b5
push pe_nt_image_headers32
lea eax, [esp + 0x38]
push 0
push eax
mov dword [esp + 0x3c], 0
call fcn.10037cf0
movzx ecx, byte [esi + 0x1048]
movzx edx, byte [esi + 0x1049]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x48], ecx
movzx ecx, word [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax]
mov word [esp + 0x14c], cx
mov ecx, dword [eax + 4]
add esp, 0xc
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x24], ecx
movzx ecx, word [eax + 0xc]
push eax
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0xc]
push edx
sub esp, 0x114
mov word [esp + 0x148], cx
mov edi, esp
mov ecx, 0x45
lea esi, [esp + 0x14c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
push edi
call fcn.100100d0
test eax, eax
je 0x1001af28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x13
jne 0x1001aeed
mov byte [0x10068cd8], 1
mov edx, dword [0x1006c620]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001aef8
mov ecx, dword [esp + 0xc]
sub eax, esi
push eax
push edx
add ecx, 4
call fcn.10001fc0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x10
push 0xbc
lea eax, [esp + 0x38]
push 0
push eax
mov dword [esp + 0x3c], 0
call fcn.10037cf0
xor eax, eax
add esp, 0xc
xor ecx, ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
push edx
lea eax, [esp + 0x34]
mov word [esp + 0x14], cx
push eax
mov ecx, edi
call fcn.1000dd40
test eax, eax
je 0x1001afa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1006c634]
push ecx
mov ecx, dword [esp + 0x10]
add ecx, 4
mov esi, eax
call fcn.10001f90
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov dx, word [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x38]
mov word [esp + 0x1c], dx
mov edx, dword [ebx + 0x3c]
mov eax, 0x64
mov word [esp + 0x10], ax
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x6c], edx
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0xa8], edx
mov edx, dword [ebx + 0x70]
mov dword [esp + 0xac], eax
mov eax, dword [ebx + 0xb8]
mov dword [esp + 0xa4], ecx
mov ecx, dword [ebx + 0xbc]
mov dword [esp + 0xa0], edx
mov edx, dword [ebx + 0xb4]
mov dword [esp + 0xe8], eax
mov eax, dword [ebx + 0xb0]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xe4], edx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x30]
mov ebx, edi
mov dword [esp + 0xe0], eax
call fcn.1000e010
test eax, eax
je 0x1001ae1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x13
jne 0x1001b071
mov byte [0x10068cd8], 1
mov edx, dword [0x1006c620]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001b080
jmp 0x1001aeff
jmp 0x1001b09c
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [0x1006c638]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001b0c0
sub eax, edi
push eax
push edx
lea ecx, [esi + 4]
call fcn.10001fc0
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x10