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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101af44b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10206f54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
cmp byte [esi + 0x104], 0
jne 0x10152bd8
movzx ecx, byte [esi + 0x1c2ac]
xor eax, eax
cmp byte [esi + 0x22c], al
mov edx, 0x300
setne al
shl ecx, 3
mov dword [ebp - 0x18], ecx
lea eax, [eax*4 + 4]
mov dword [ebp - 0x34], eax
movzx eax, word [esi + 0x1ac]
add eax, 3
shr eax, 2
cmp eax, edx
cmovb eax, edx
xor edx, edx
dec eax
add eax, ecx
div ecx
mov edx, 1
imul eax, ecx
mov ecx, 0x1200
cmp eax, ecx
cmovb ecx, eax
movzx eax, byte [esi + 0x1c274]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
cmp eax, edx
jbe 0x101528f8
mov al, byte [esi + 0x1c285]
lea ecx, [esi + 0x1c285]
nop dword [eax]
mov ah, byte [ecx + 0xc]
cmp al, ah
jne 0x101528df
mov al, byte [ecx + 1]
cmp al, byte [ecx + 0xd]
jne 0x101528df
inc edx
add ecx, 0xc
mov al, ah
cmp edx, dword [ebp - 0x20]
jb 0x101528c0
mov ecx, dword [ebp - 0x10]
jmp 0x101528f8
mov ecx, dword [ebp - 0x10]
mov eax, 0xaaaaaaab
add ecx, 0x2ff
mul ecx
shr edx, 9
lea ecx, [edx + edx*2]
shl ecx, 8
mov edi, dword [ebp - 0x18]
shr ecx, 3
cmp byte [esi + 0x240], 0
mov dword [ebp - 0x10], ecx
lea eax, [ecx*8]
mov dword [ebp - 0x1c], eax
jne 0x1015296a
movzx eax, word [esi + 0x1ac]
xor edx, edx
dec eax
add eax, edi
div edi
cmp byte [esi + 0x12a], 0
je 0x10152948
movzx ecx, word [esi + 0x1c2b0]
test cx, cx
je 0x10152948
xor edx, edx
div ecx
test edx, edx
jne 0x1015294f
mov byte [esi + 0xf4], 1
jmp 0x1015294f
mov byte [esi + 0xf4], 0
cmp byte [esi + 0xf4], 0
je 0x1015296a
mov eax, dword [esi + 0x108]
mov dword [esi + 0x130], 0x1014d7d0
jmp 0x1015296f
mov eax, 1
mov edx, 0xfc
mov ecx, esi
add ecx, edx
xor edx, edx
push 0x28
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
movzx eax, word [esi + 0x1ac]
dec eax
add eax, dword [ebp - 0x1c]
div dword [ebp - 0x1c]
mov dword [esi + 0x100], eax
call fcn.101a8b06
mov ecx, eax
add esp, 4
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
test ecx, ecx
je 0x101529d0
movups xmm0, xmmword [esi + 0x110]
sub esp, 0x18
mov eax, esp
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x120]
movq qword [eax + 0x10], xmm0
call fcn.1017fa60
jmp 0x101529d2
xor eax, eax
cmp byte [esi + 0x240], 0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x1c35c], eax
mov byte [esi + 0x104], 1
jne 0x10152bd8
movzx eax, word [esi + 0x1ac]
xor edx, edx
dec eax
xor ecx, ecx
add eax, edi
div edi
mov edx, 0xec
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
mov eax, edi
mul edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], edi
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.101a8b44
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10152a63
push sym.AIDE.dll_public:_void___thiscall_AIDE::AIDEDimension::destructor_void_
push fcn.10148540
push dword [ebp - 0x20]
mov dword [eax], edi
lea edi, [eax + 4]
push 0xec
push edi
call fcn.101a992f
jmp 0x10152a65
xor edi, edi
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], edi
cmp dword [eax], 0
jbe 0x10152bd8
xor edx, edx
mov dword [ebp - 0x20], edx
mov ecx, dword [esi + 4]
add ecx, edx
mov edx, 0x80
mov dword [ebp - 0x30], ecx
push 0
push 0
mov dword [ecx + 0xe4], esi
mov eax, dword [esi + 0x14]
mov dword [ecx + 0xc], eax
mov al, byte [esi + 0x18]
mov byte [ecx + 0x10], al
mov al, byte [esi + 0x20]
mov byte [ecx + 0x18], al
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x1c], eax
mov ax, word [esi + 0x1c2b0]
mov word [ecx + 0x20], ax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x24], eax
mov al, byte [esi + 0x30]
mov byte [ecx + 0x28], al
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0xd4], eax
mov eax, dword [esi + 0x34]
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
xor ecx, ecx
mov edi, dword [esi + 0x100]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1013f5b0
add esp, 0xc
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10152b3d
mov esi, eax
test edi, edi
je 0x10152b38
push 0x80
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov dword [esi + 0x78], 0x40
add esp, 0xc
sub esi, 0xffffff80
sub edi, 1
jne 0x10152b16
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
jmp 0x10152b3f
xor eax, eax
mov edi, dword [ebp - 0x30]
push 0x20
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0xdc], eax
call fcn.101a8b06
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x10152b75
push 0x1000
mov ecx, eax
call fcn.1017ee50
jmp 0x10152b77
xor eax, eax
push dword [ebp - 0x34]
mov dword [edi + 0x30], eax
xorps xmm0, xmm0
push dword [ebp - 0x10]
movq qword [edi + 0x34], xmm0
lea eax, [edi + 0x44]
push dword [esi + 0x100]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.10149200
mov ecx, dword [ebp - 0x14]
test al, al
mov eax, dword [ebp - 0x18]
je 0x10152bd6
mov edx, dword [ebp - 0x20]
inc eax
add edx, 0xec
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], edx
cmp eax, dword [ecx]
jb 0x10152a85
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret