Function at 0x10ae205
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x111127c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
mov ecx, dword [ebp + 0xc]
stosd dword es:[edi], eax
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], ebx
mov byte [ebx], al
cmp ecx, eax
je 0x10ae263
mov byte [ecx], al
mov edi, dword [0x111124c]
mov ebx, 0x111124c
cmp edi, ebx
je 0x10ae2aa
test byte [edi + 0x1c], 4
je 0x10ae2aa
cmp byte [edi + 0x19], 5
jb 0x10ae2aa
push dword [esi + 0x30]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov cl, 0x20
call fcn.01103310
push eax
push 0x100b070
push 0xa5
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.0109ba57
mov edi, dword [0x111124c]
cmp byte [esi + 0x40], 0
jne 0x10ae4a3
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x14]
jl 0x10ae2da
jg 0x10ae2c6
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x10]
jb 0x10ae2da
push 0x1002394
push 0xd44
push 0x100b080
call fcn.0107b4be
mov edi, dword [ebp - 0x18]
push edi
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.010adb0f
test eax, eax
je 0x10aeb6c
mov eax, dword [ebp - 0x2c]
cmp byte [eax], 0
je 0x10ae2ff
xor al, al
jmp 0x10aeb6e
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x14]
mov dword [ebp - 0x24], ecx
mov edi, 0x10000
jl 0x10ae33c
jg 0x10ae328
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x10]
jb 0x10ae33c
push 0x100b3b0
push 0xd57
push 0x100b080
call fcn.0107b4be
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
add ecx, edi
adc eax, 0
cmp eax, dword [esi + 0x14]
jl 0x10ae367
jg 0x10ae353
cmp ecx, dword [esi + 0x10]
jbe 0x10ae367
push 0x1002394
push 0xd5f
push 0x100b080
call fcn.0107b4be
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x14]
push edi
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.010acd29
test al, al
je 0x10ae3b6
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10ae3b1
test byte [eax + 0x1c], 4
je 0x10ae3b1
cmp byte [eax + 0x19], 5
jb 0x10ae3b1
push dword [esi + 0x7c]
push 0x100b070
push 0xa6
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
mov edi, dword [esi + 0x7c]
jmp 0x10ae3bb
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10ae417
test byte [eax + 0x1c], 4
je 0x10ae3ec
cmp byte [eax + 0x19], 5
jb 0x10ae3ec
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push edi
push 0x100b070
push 0xa7
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109bb0b
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10ae417
test byte [eax + 0x1c], 4
je 0x10ae417
cmp byte [eax + 0x19], 5
jb 0x10ae417
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push 0x100b070
push 0xa8
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x40]
push dword [esi]
call fcn.010a02a2
push 0
push 0x200200
push dword [esi + 0x3c]
push dword [esi + 0x38]
call fcn.01103260
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
push dword [ebp - 0x30]
mov dword [ecx], eax
mov ecx, esi
call fcn.010aadad
mov eax, dword [ebp - 0x38]
mov dword [eax], edi
mov edi, dword [0x111124c]
cmp edi, ebx
je 0x10ae48b
test byte [edi + 0x1c], 4
je 0x10ae48b
cmp byte [edi + 0x19], 5
jb 0x10ae48b
mov ecx, dword [ebp - 0x30]
push dword [ecx]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov cl, 0x20
call fcn.01103310
push eax
push 0x100b070
push 0xa9
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.0109ba57
mov eax, 0x10000
add dword [esi + 0x38], eax
adc dword [esi + 0x3c], 0
add dword [esi + 0x30], eax
adc dword [esi + 0x34], 0
jmp 0x10aeb6c
cmp edi, ebx
je 0x10ae4cb
test byte [edi + 0x1c], 4
je 0x10ae4cb
cmp byte [edi + 0x19], 5
jb 0x10ae4cb
push dword [esi + 0x50]
push 0x100b070
push 0xaa
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.010189f6
mov ecx, esi
call fcn.010abbd3
mov eax, dword [esi + 0x50]
mov edi, dword [esi + 0x4c]
mov ecx, 0x10000
sub ecx, eax
add edi, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x20
jb 0x10ae4fa
mov edx, dword [edi + 0x10]
cmp ecx, edx
jb 0x10ae4fa
add edx, eax
mov dword [esi + 0x50], edx
jmp 0x10ae5d2
test ecx, ecx
je 0x10ae50b
push ecx
push edi
push dword [esi + 0x44]
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esi + 0xb0], 0
mov edi, dword [esi + 0x44]
mov ecx, esi
je 0x10ae6f3
call fcn.010abca2
test al, al
je 0x10ae740
cmp dword [ebp - 0x1c], 0x20
jae 0x10ae549
push 0x20
pop eax
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [esi + 0x44]
push dword [esi + 0x4c]
add eax, dword [ebp - 0x1c]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 0x10]
cmp eax, 0x10020
ja 0x10ae783
cmp eax, dword [ebp - 0x1c]
jb 0x10ae7c7
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
cmp eax, 0x10000
jae 0x10ae576
push eax
mov eax, dword [esi + 0x44]
add eax, dword [ebp - 0x1c]
jmp 0x10ae5c0
mov eax, dword [esi + 0x44]
add eax, dword [ebp - 0x1c]
push 0x10000
push dword [esi + 0x4c]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esi + 0xb0], 0
je 0x10ae80e
mov ecx, esi
call fcn.010abca2
test al, al
je 0x10ae858
sub dword [ebp - 0x24], 0x10000
mov eax, dword [esi + 0x44]
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x24]
lea eax, [eax + ecx + 0x10000]
push dword [esi + 0x4c]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
add esp, 0xc
add dword [esi + 0x50], eax
push 0x10
push 0x100ab20
push edi
call dword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp eax, 0x10
jne 0x10ae888
mov edx, dword [edi + 0x10]
cmp edx, 0x20
jb 0x10aeb2f
test dl, 0xf
jne 0x10aeb2f
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x24], eax
cmp ecx, eax
ja 0x10aeb01
cmp dword [edi + 0x1c], 0
jne 0x10aeb01
add ecx, 0x20
cmp ecx, edx
ja 0x10aeb01
test eax, 0x1ff
jne 0x10aeb01
test eax, eax
je 0x10aeb01
cmp dword [edi + 0x14], 0
jne 0x10ae65e
movzx ecx, ax
test ecx, ecx
jne 0x10ae95e
cmp eax, 0x200000
jae 0x10ae95e
add dword [esi + 0x38], eax
adc dword [esi + 0x3c], ecx
jmp 0x10ae4d2
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
push 0
push 0x200200
push ecx
push eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
call fcn.01103340
or eax, edx
jne 0x10ae9d4
cmp dword [ebp - 0x24], 0x200
jne 0x10ae998
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
push dword [esi + 0x98]
add eax, 0x200
adc ecx, 0
mov dword [esi + 0x3c], ecx
push edi
mov ecx, esi
mov dword [esi + 0x38], eax
call fcn.010ab7ee
test al, al
jne 0x10ae4d2
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10aeb5a
test byte [eax + 0x1c], 4
je 0x10aeb5a
cmp byte [eax + 0x19], 2
jb 0x10aeb5a
push dword [edi + 0x1c]
push dword [edi + 0x10]
push dword [edi + 0x18]
push dword [edi + 0x14]
push 0x100b070
push 0xb7
jmp 0x10ae7fe
call fcn.010acfc1
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], al
mov ecx, dword [0x111124c]
cmp ecx, ebx
je 0x10ae2f8
test byte [ecx + 0x1c], 4
je 0x10ae2f8
cmp byte [ecx + 0x19], 4
jb 0x10ae2f8
movzx eax, al
push eax
push dword [ebp - 0x1c]
push 0x100b070
push 0xab
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0109ba57
jmp 0x10ae2f8
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10ae76a
test byte [eax + 0x1c], 4
je 0x10ae76a
cmp byte [eax + 0x19], 2
jb 0x10ae76a
push 0x100b070
push 0xac
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov ecx, dword [esi + 0xbc]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [esi + 0xc0]
mov dword [eax + 4], ecx
jmp 0x10aeb63
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10aeb5a
test byte [eax + 0x1c], 4
je 0x10aeb5a
cmp byte [eax + 0x19], 2
jb 0x10aeb5a
push dword [edi + 0x14]
push dword [edi + 0x18]
push dword [edi + 0x10]
push 0x100b070
push 0xad
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109bb0b
jmp 0x10aeb5a
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10aeb5a
test byte [eax + 0x1c], 4
je 0x10aeb5a
cmp byte [eax + 0x19], 2
jb 0x10aeb5a
push dword [ebp - 0x1c]
push dword [edi + 0x14]
push dword [edi + 0x18]
push dword [edi + 0x10]
push 0x100b070
push 0xae
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107bd73
jmp 0x10aeb5a
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10aeb5a
test byte [eax + 0x1c], 4
je 0x10aeb5a
cmp byte [eax + 0x19], 2
jb 0x10aeb5a
push dword [esi + 0x34]
mov ecx, 0x10000
push dword [esi + 0x30]
sub ecx, dword [ebp - 0x24]
push ecx
push 0x100b070
push 0xaf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010b50e3
jmp 0x10aeb5a
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10ae76a
test byte [eax + 0x1c], 4
je 0x10ae76a
cmp byte [eax + 0x19], 2
jb 0x10ae76a
push 0x100b070
push 0xb0
jmp 0x10ae75f
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp eax, 0x10
jne 0x10ae8e7
cmp byte [esi + 0xb0], 0
jne 0x10ae8e7
mov ecx, esi
call fcn.010acfc1
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], al
mov ecx, dword [0x111124c]
cmp ecx, ebx
je 0x10ae2f8
test byte [ecx + 0x1c], 4
je 0x10ae2f8
cmp byte [ecx + 0x19], 4
jb 0x10ae2f8
movzx eax, al
push eax
push dword [esi + 0x50]
push 0x100b070
push 0xb2
jmp 0x10ae730
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10aeb5a
test byte [eax + 0x1c], 4
je 0x10aeb5a
cmp byte [eax + 0x19], 2
jb 0x10aeb5a
movzx ecx, byte [esi + 0xb0]
push ecx
movzx ecx, byte [edi + 0xf]
push ecx
movzx ecx, byte [edi + 0xe]
push ecx
movzx ecx, byte [edi + 0xd]
push ecx
movzx ecx, byte [edi + 0xc]
push ecx
movzx ecx, byte [edi + 0xb]
push ecx
movzx ecx, byte [edi + 0xa]
push ecx
movzx ecx, byte [edi + 9]
push ecx
movzx ecx, byte [edi + 8]
push ecx
movzx ecx, word [edi + 6]
push ecx
movzx ecx, word [edi + 4]
push ecx
push dword [edi]
push 0x100b070
push 0xb1
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010aa5d0
jmp 0x10aeb5a
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10aeb5a
test byte [eax + 0x1c], 4
je 0x10aeb5a
cmp byte [eax + 0x19], 2
jb 0x10aeb5a
push dword [edi + 0x1c]
push edx
push dword [edi + 0x18]
push dword [edi + 0x14]
push 0x100b070
push 0xb5
jmp 0x10ae7fe
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10aeb5a
test byte [eax + 0x1c], 4
je 0x10aeb5a
cmp byte [eax + 0x19], 2
jb 0x10aeb5a
push dword [edi + 0x1c]
push dword [edi + 0x10]
push dword [edi + 0x18]
push dword [edi + 0x14]
push 0x100b070
push 0xb6
jmp 0x10ae7fe
mov ecx, dword [edi + 0x18]
mov eax, 0x10000
cmp ecx, eax
je 0x10aea37
mov dl, byte [esi + 0xb0]
test dl, dl
jne 0x10ae9ee
cmp ecx, eax
jbe 0x10aea37
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10aeb5a
test byte [eax + 0x1c], 4
je 0x10aeb5a
cmp byte [eax + 0x19], 2
jb 0x10aeb5a
movzx edx, dl
push edx
push dword [edi + 0x1c]
push dword [edi + 0x10]
push ecx
push dword [edi + 0x14]
push 0x100b070
push 0xb8
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010e484e
jmp 0x10aeb5a
push 0
push 0x200200
push dword [esi + 0x3c]
push dword [esi + 0x38]
call fcn.01103260
mov ecx, dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov dword [ecx], eax
push edi
mov ecx, esi
call fcn.010ab7ee
test al, al
jne 0x10aea99
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10aeb5a
test byte [eax + 0x1c], 4
je 0x10aeb5a
cmp byte [eax + 0x19], 2
jb 0x10aeb5a
push dword [edi + 0x1c]
push dword [edi + 0x10]
push dword [edi + 0x18]
push dword [edi + 0x14]
push 0x100b070
push 0xb9
jmp 0x10ae7fe
mov eax, dword [ebp - 0x18]
and dword [eax], 0
mov ecx, dword [edi + 0x18]
push dword [eax + 0x10]
mov dword [eax + 4], ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp - 0x34]
mov ecx, esi
push dword [ebp - 0x30]
call fcn.010aadad
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10aeaf5
test byte [eax + 0x1c], 4
je 0x10aeaf5
cmp byte [eax + 0x19], 5
jb 0x10aeaf5
mov ecx, dword [ebp - 0x30]
push dword [ecx + 4]
push dword [ecx]
push 0x100b070
push 0xba
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019531
mov eax, dword [edi + 0x18]
add dword [esi + 0x38], eax
adc dword [esi + 0x3c], 0
jmp 0x10aeb6c
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10aeb5a
test byte [eax + 0x1c], 4
je 0x10aeb5a
cmp byte [eax + 0x19], 2
jb 0x10aeb5a
push dword [edi + 0x1c]
push edx
push dword [edi + 0x18]
push dword [edi + 0x14]
push 0x100b070
push 0xb4
jmp 0x10ae7fe
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10aeb5a
test byte [eax + 0x1c], 4
je 0x10aeb5a
cmp byte [eax + 0x19], 2
jb 0x10aeb5a
push edx
push 0x100b070
push 0xb3
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [ebp - 0x18]
mov dword [eax], 0xc0000102
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f5f8
leave
ret 0x1c