Function at 0x101041c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20c]
mov eax, dword [eax]
test byte [eax + 0x3c], 1
push edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], eax
jne 0x10104222
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x28]
lea ebx, [ebx + ebx*8]
add ebx, ebx
add ebx, ebx
add ebx, ebx
cmp dword [ebp + 0x10], 0
mov edx, dword [ebx + ecx + 0x34]
mov edi, dword [ebx + ecx + 0x1c]
lea eax, [ebx + ecx + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edi
je 0x1010422b
cmp dword [ebp + 0x14], 0
je 0x10104236
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x10104236
cmp byte [ecx], 1
ja 0x10104222
mov edx, dword [edi + 0x48]
mov eax, dword [edi + 0x28]
test edx, edx
je 0x10104246
cmp dword [esi + 0x48], 0
jne 0x10104222
cmp dword [edi + 0x4c], 0
jne 0x10104222
cmp dword [esi + 0x44], 0
je 0x10104256
test edx, edx
jne 0x10104222
cmp byte [eax], 0
je 0x10104222
test byte [edi + 6], 1
jne 0x10104222
test edx, edx
je 0x10104270
cmp byte [ecx], 1
ja 0x10104222
cmp dword [ebp + 0x10], 0
jne 0x10104222
mov ax, word [esi + 6]
and ax, 1
mov word [esp + 0x12], ax
je 0x10104285
cmp dword [ebp + 0x14], 0
jne 0x10104222
cmp dword [esi + 0x38], 0
je 0x10104291
cmp dword [edi + 0x38], 0
jne 0x10104222
cmp dword [ebp + 0x10], 0
je 0x1010429d
cmp dword [edi + 0x38], 0
jne 0x10104222
test edx, edx
je 0x101042bb
cmp dword [esi + 0x2c], 0
jne 0x10104222
test edx, edx
je 0x101042bb
cmp word [esp + 0x12], 0
jne 0x10104222
test byte [ebx + ecx + 0x28], 0x20
lea eax, [ebx + ecx + 0x28]
mov dword [esp + 0x38], eax
jne 0x10104222
cmp dword [edi + 0x3c], 0
je 0x10104365
cmp dword [edi + 0x38], 0
jne 0x10104222
cmp dword [ebp + 0x10], 0
jne 0x10104222
cmp word [esp + 0x12], 0
jne 0x10104222
cmp byte [ecx], 1
jne 0x10104222
mov eax, edi
test byte [eax + 6], 5
jne 0x10104222
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x1010431e
cmp byte [eax + 4], 0x72
jne 0x10104222
mov edx, dword [eax + 0x28]
cmp byte [edx], 1
jb 0x10104222
mov edx, dword [edi]
mov eax, dword [eax]
mov edx, dword [edx]
cmp edx, dword [eax]
jne 0x10104222
mov eax, ecx
test eax, eax
jne 0x10104303
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10104365
cmp dword [ecx], eax
jle 0x10104365
mov ecx, dword [ecx + 8]
add ecx, 0x14
nop
cmp word [ecx], 0
je 0x10104222
mov edx, dword [esi + 0x38]
inc eax
add ecx, 0x18
cmp eax, dword [edx]
jl 0x10104350
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + eax + 0x10]
push 0
lea edi, [ebx + eax + 0x10]
mov eax, dword [ebp + 8]
push 0
push 0
push 0x15
mov dword [esp + 0x34], edi
mov dword [eax + 0x20c], ecx
call fcn.100e75a0
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x20c], edx
mov eax, dword [ecx + 0x3c]
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x10104447
mov edi, edi
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esp + 0x18]
mov edi, dword [esi + 0x38]
mov ebx, dword [esi + 0x48]
mov dword [esp + 0x30], eax
xor eax, eax
push eax
push esi
push ecx
mov dword [esp + 0x40], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
call fcn.100dfa60
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], ecx
mov byte [esi + 4], 0x72
mov dword [esi + 0x44], 0
test eax, eax
jne 0x1010440d
mov eax, dword [esp + 0x30]
jmp 0x1010441b
mov edx, dword [esp + 0x30]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x44], 0
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x40], 0
jne 0x101047bb
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x101043b0
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [ebx + eax + 0xc]
call fcn.100b49f0
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
call fcn.100b49f0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + ecx + 0x14]
mov ecx, dword [esp + 0x18]
call fcn.100b49f0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov dword [ebx + eax + 0xc], ecx
mov dword [ebx + eax + 0x14], ecx
lea ebx, [ebx + eax + 0x18]
mov eax, dword [ebx]
mov dword [edi], ecx
mov dword [edx], ecx
cmp eax, ecx
je 0x101044e3
movzx ecx, word [eax + 0x28]
cmp cx, 1
jne 0x101044d8
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1b8]
test ecx, ecx
jne 0x101044bb
mov ecx, edx
mov edx, dword [ecx + 0x22c]
mov dword [eax + 0x48], edx
mov dword [ecx + 0x22c], eax
mov dword [ebx], 0
mov ebx, esi
mov dword [esp + 0x30], ebx
jmp 0x101044f4
dec ecx
mov word [eax + 0x28], cx
mov dword [ebx], 0
mov ebx, esi
mov dword [esp + 0x30], ebx
jmp 0x101044f4
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x28]
movzx esi, byte [eax]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x28]
mov byte [esp + 0x12], 0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10104522
mov ecx, dword [esp + 0x38]
mov dl, byte [ecx]
mov byte [esp + 0x12], dl
jmp 0x10104541
push 0
xor ecx, ecx
xor eax, eax
mov edx, edi
call fcn.100ecdc0
add esp, 4
mov dword [ebx + 0x28], eax
mov dword [esp + 0x1c], eax
test eax, eax
je 0x101047ad
cmp esi, 1
jle 0x1010456a
mov ecx, dword [ebp + 0xc]
inc ecx
push ecx
lea edx, [esi - 1]
push edx
mov ecx, edi
call fcn.100eccb0
add esp, 8
mov dword [ebx + 0x28], eax
cmp byte [edi + 0x40], 0
mov dword [esp + 0x1c], eax
jne 0x101047ad
test esi, esi
jle 0x101045d3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add eax, 8
mov dword [esp + 0x28], eax
lea eax, [ecx + edx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], esi
lea ecx, [ecx]
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x34]
mov eax, dword [esp + 0x18]
call fcn.100ecac0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ecx, 0x12
push 0x48
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
push 0
push esi
call fcn.1012e060
add dword [esp + 0x30], 0x48
add esi, 0x48
add esp, 0xc
sub dword [esp + 0x34], 1
mov dword [esp + 0x28], esi
jne 0x10104590
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 0x12]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
mov byte [edx + eax + 0x28], cl
mov ecx, dword [ebx]
xor eax, eax
cmp dword [ecx], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
jle 0x1010464a
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 8]
add eax, edx
cmp dword [eax + 4], 0
jne 0x10104632
mov ebx, dword [eax + 8]
push edi
call fcn.100b4d20
add esp, 4
mov esi, eax
call fcn.100b6a30
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov dword [edx + ecx + 4], esi
mov ecx, eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
inc edx
add eax, 0x18
cmp edx, dword [ecx]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jl 0x101045fb
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
mov esi, dword [ebx]
push ecx
push edx
push edi
call fcn.10103fb0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x1010469b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
mov esi, dword [ebx + 0x30]
push ecx
push edx
push edi
call fcn.10103fb0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x34]
add esp, 0xc
push ecx
push edx
push eax
push edi
call fcn.10103ea0
add esp, 0x10
mov dword [ebx + 0x34], eax
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x101046b2
mov dword [ebx + 0x38], eax
mov dword [esi + 0x38], 0
jmp 0x101046d4
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x101046d4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
push edx
push ecx
push edi
mov esi, eax
call fcn.10103fb0
mov esi, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x101046ef
push 0
push 0
push eax
push edi
call fcn.100df360
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x101046f7
mov dword [esp + 0x28], 0
cmp dword [ebp + 0x14], 0
je 0x1010474e
mov edx, dword [ebx + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x34], edx
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x2c], eax
mov ecx, dword [esi]
mov eax, dword [ebx + 0x34]
push ecx
push edx
push eax
push edi
call fcn.10103ea0
push 0
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x34]
push 0
push eax
push edi
call fcn.100df360
mov ecx, dword [ebx + 0x34]
mov edx, edi
call fcn.100deea0
mov dword [ebx + 0x34], eax
mov ecx, dword [esi + 0x30]
push 0
push ecx
push edi
call fcn.100df5b0
add esp, 0x2c
mov dword [ebx + 0x30], eax
jmp 0x10104776
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x2c]
push edx
push eax
push ecx
push edi
call fcn.10103ea0
mov ecx, eax
mov eax, dword [esp + 0x38]
add esp, 0x10
mov edx, edi
mov dword [ebx + 0x2c], ecx
call fcn.100deea0
mov dword [ebx + 0x2c], eax
mov dx, word [esi + 6]
and dx, 1
or word [ebx + 6], dx
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10104793
mov dword [ebx + 0x48], eax
mov dword [esi + 0x48], 0
mov ebx, dword [ebx + 0x3c]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x101044f0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
push ecx
push edi
call fcn.100ff2a0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret