Function at 0x100da9e1
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x218], eax
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x238], ebx
push esi
push edi
test edx, edx
je 0x100daa2d
movzx eax, word [edx + 0x44]
add eax, edx
jmp 0x100daa30
mov eax, dword [eax + 0x30]
movzx edx, word [eax + 8]
add edx, eax
movzx eax, word [eax + 6]
mov esi, edx
sub esi, eax
mov dword [ebp - 0x210], esi
cmp esi, edx
jne 0x100daa50
xor ebx, ebx
inc ebx
jmp 0x100dad51
mov ecx, esi
call fcn.101120ca
test eax, eax
je 0x100dad51
lea edi, [ebp - 0x250]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x244]
mov edi, dword [ebp - 0x214]
mov esi, dword [ebp - 0x218]
movzx eax, dx
add eax, dword [ebp - 0x210]
shr edx, 0x10
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], edx
test edi, edi
jne 0x100dab11
mov edi, dword [esi + 0x38]
test edi, edi
jne 0x100dab11
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x100dad23
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x20c]
xor eax, eax
inc eax
push eax
mov ecx, dword [ecx + 0x14]
push 0x100
mov dword [ebp - 0x238], eax
call fcn.1010b5c2
test eax, eax
je 0x100dad23
mov ecx, dword [esi + 0x18]
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [esi + 0x30]
mov edx, edi
add eax, 0x30
mov ecx, dword [ecx + 0x14]
push eax
push 0x200
call fcn.1010b845
test eax, eax
je 0x100dad23
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x234]
push edx
push ebx
push eax
call sub.msvcrt.dll_memset
mov edx, dword [esi + 0x18]
add esp, 0xc
mov eax, dword [ebp - 0x230]
add eax, 0xfffffffe
mov dword [ebp - 0x21c], eax
mov esi, dword [edx + 0xc]
push 0x27
pop eax
and esi, 0x100000
je 0x100dab40
mov ecx, eax
jmp 0x100dab66
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + 2]
mov dword [ebp - 0x210], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100dab4f
sub ecx, dword [ebp - 0x210]
sar ecx, 1
push 0x27
inc ecx
pop eax
lea ebx, [ecx + ecx]
sub dword [ebp - 0x21c], ebx
push 0
mov dword [ebp - 0x210], ebx
pop ebx
js 0x100dad23
test esi, esi
je 0x100dab87
add edx, 0x28
jmp 0x100dab8f
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 4]
mov eax, ecx
mov ecx, dword [ebp - 0x234]
push eax
call fcn.1010c0d1
mov ecx, dword [ebp - 0x22c]
xor edx, edx
mov eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], eax
mov esi, dword [ecx + 0x1c]
add esi, dword [ecx + 0x18]
mov dword [ebp - 0x240], esi
call fcn.1010bae5
mov edx, eax
mov dword [ebp - 0x210], edx
test esi, esi
je 0x100dad23
test edx, edx
je 0x100dad23
cmp esi, 0x200
jae 0x100dad23
mov eax, ebx
mov dword [ebp - 0x218], eax
test esi, esi
je 0x100dad1e
cmp dword [edx + 0x2c], 2
je 0x100dad06
cmp dword [edx], 0
je 0x100dac13
mov esi, dword [ecx + 0x138]
add esi, dword [edx]
jmp 0x100dac15
mov esi, ebx
test esi, esi
je 0x100dad23
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x214], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100dac28
sub ecx, dword [ebp - 0x214]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x218]
movzx eax, byte [edi + eax*2]
push eax
call fcn.1010bc73
mov dword [ebp - 0x23c], eax
test eax, eax
jne 0x100dac61
inc eax
jmp 0x100dac95
cmp dword [eax], 0
je 0x100dac76
mov ecx, dword [ecx + 0x138]
add ecx, dword [eax]
mov dword [ebp - 0x224], ecx
jmp 0x100dac7e
mov ecx, ebx
mov dword [ebp - 0x224], ebx
test ecx, ecx
je 0x100dad23
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100dac89
sub ecx, edx
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x228], eax
add eax, ecx
sub dword [ebp - 0x21c], eax
js 0x100dad23
push ecx
mov ecx, dword [ebp - 0x220]
mov edx, esi
call fcn.1010c11f
cmp dword [ebp - 0x23c], 0
mov esi, dword [ebp - 0x228]
je 0x100dace0
mov ecx, dword [ebp - 0x220]
add ecx, dword [ebp - 0x214]
mov edx, dword [ebp - 0x224]
push esi
call fcn.1010c11f
mov eax, dword [ebp - 0x214]
mov edx, dword [ebp - 0x210]
add eax, esi
add dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x218]
mov esi, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x22c]
inc eax
add edx, 0x54
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], edx
cmp eax, esi
jb 0x100dabfa
xor ebx, ebx
inc ebx
jmp 0x100dad3d
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x100dad3d
push eax
push ebx
push dword [ebp - 0x234]
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp - 0x238], 0
je 0x100dad51
test edi, edi
je 0x100dad51
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10166ce0
mov esp, ebp
pop ebp
ret 4