Function at 0x1007c026
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov eax, ecx
push esi
mov ecx, dword [eax + 0x204]
push edi
mov edi, dword [eax]
mov esi, edx
test byte [edi + 0x34], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edi
je 0x1007c054
xor eax, eax
jmp 0x1007c5a8
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x28]
imul edx, edx, 0x48
mov eax, dword [edx + ecx + 0x34]
mov ebx, dword [edx + ecx + 0x1c]
mov dword [ebp - 0x1c], eax
xor eax, eax
inc eax
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x30], eax
je 0x1007c082
cmp dword [ebp + 0x10], 0
je 0x1007c08d
jmp 0x1007c04d
cmp dword [ebp + 0x10], 0
je 0x1007c08d
cmp word [ecx], ax
jg 0x1007c04d
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x1007c09a
cmp dword [esi + 0x48], 0
jne 0x1007c04d
cmp dword [ebx + 0x4c], 0
jne 0x1007c04d
cmp dword [esi + 0x44], 0
je 0x1007c0aa
test eax, eax
jne 0x1007c04d
mov edi, dword [ebx + 0x28]
xor ecx, ecx
cmp word [edi], cx
mov ecx, dword [ebp - 0xc]
je 0x1007c04d
test byte [ebx + 6], 1
jne 0x1007c04d
test eax, eax
je 0x1007c0d3
xor edi, edi
inc edi
cmp word [ecx], di
jg 0x1007c04d
cmp dword [ebp + 0xc], 0
jne 0x1007c04d
mov di, word [esi + 6]
xor ecx, ecx
inc ecx
and di, cx
mov ecx, dword [ebp - 0xc]
mov word [ebp - 2], di
je 0x1007c0f0
cmp dword [ebp + 0x10], 0
jne 0x1007c04d
cmp dword [esi + 0x38], 0
mov edi, dword [ebp - 8]
je 0x1007c103
cmp dword [ebx + 0x38], 0
jne 0x1007c04d
cmp dword [ebp + 0xc], 0
je 0x1007c113
cmp dword [ebx + 0x38], 0
jne 0x1007c04d
test eax, eax
je 0x1007c133
cmp dword [esi + 0x2c], 0
jne 0x1007c04d
test eax, eax
je 0x1007c133
mov ax, word [ebp - 2]
test ax, ax
je 0x1007c137
jmp 0x1007c04d
mov ax, word [ebp - 2]
test byte [edx + ecx + 0x28], 0x20
jne 0x1007c04d
cmp dword [ebx + 0x3c], 0
je 0x1007c1ec
cmp dword [ebx + 0x38], 0
jne 0x1007c04d
cmp dword [ebp + 0xc], 0
jne 0x1007c04d
test ax, ax
jne 0x1007c04d
xor eax, eax
inc eax
cmp word [ecx], ax
jne 0x1007c04d
mov ecx, ebx
test byte [ecx + 6], 5
jne 0x1007c04d
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1007c195
cmp byte [ecx + 4], 0x71
jne 0x1007c04d
mov eax, dword [ecx + 0x28]
xor edi, edi
inc edi
cmp word [eax], di
mov edi, dword [ebp - 8]
jl 0x1007c04d
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x1007c04d
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x1007c177
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1007c1e9
cmp dword [eax], ecx
jle 0x1007c1e9
mov eax, dword [eax + 8]
add eax, 0x14
xor edx, edx
cmp word [eax], dx
mov edx, dword [ebp - 0x10]
je 0x1007c04d
mov edi, dword [esi + 0x38]
inc ecx
add eax, 0x18
cmp ecx, dword [edi]
mov edi, dword [ebp - 8]
jl 0x1007c1cd
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x204], eax
xor eax, eax
push eax
push eax
push eax
push 0x15
pop edx
call fcn.1006c080
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x204], ecx
mov eax, dword [ebx + 0x3c]
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1007c29d
mov eax, dword [ebp - 0x18]
mov ebx, dword [esi + 0x38]
mov ecx, dword [eax + 0x3c]
mov edi, dword [esi + 0x48]
mov esi, dword [esi + 0x4c]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
push ecx
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.100677db
mov edx, eax
mov eax, dword [ebp - 0x18]
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x4c], esi
mov esi, eax
mov dword [esi + 0x38], ebx
xor ebx, ebx
mov dword [esi + 0x48], edi
mov dword [esi + 0x28], ecx
mov byte [esi + 4], 0x71
mov dword [esi + 0x44], ebx
test edx, edx
jne 0x1007c276
mov edx, dword [ebp - 0x24]
jmp 0x1007c27f
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x3c], eax
mov dword [edx + 0x44], ebx
mov edi, dword [ebp - 8]
mov dword [esi + 0x3c], edx
cmp byte [edi + 0x38], bl
jne 0x1007c5a5
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x1007c21f
jmp 0x1007c2a0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + ecx + 0x1c]
mov ebx, edx
mov dword [ebp - 0x34], edx
mov edx, dword [eax + ecx + 0xc]
mov ecx, edi
mov dword [ebp - 0x24], ebx
call fcn.10046cee
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, edi
mov edx, dword [edx + eax + 0x10]
call fcn.10046cee
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + ecx + 0x14]
mov ecx, edi
call fcn.10046cee
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov dword [eax + edx + 0xc], ecx
mov dword [eax + edx + 0x10], ecx
mov dword [eax + edx + 0x14], ecx
mov dword [eax + edx + 0x1c], ecx
mov ecx, dword [eax + edx + 0x18]
test ecx, ecx
je 0x1007c33f
movzx eax, word [ecx + 0x28]
cmp ax, word [ebp - 0x30]
jne 0x1007c32f
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax + 0x1b0]
test eax, eax
cmovne esi, eax
mov eax, esi
mov eax, dword [eax + 0x224]
mov dword [ecx + 0x44], eax
mov eax, esi
mov esi, dword [ebp - 0x18]
mov dword [eax + 0x224], ecx
jmp 0x1007c334
dec eax
mov word [ecx + 0x28], ax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [eax + edx + 0x18], ecx
jmp 0x1007c341
xor ecx, ecx
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0x30], ecx
movsx edx, word [ecx]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x1007c369
mov edi, dword [ebp - 0xc]
mov al, byte [eax + edi + 0x28]
mov edi, dword [ebp - 8]
mov byte [ebp - 1], al
jmp 0x1007c38b
xor eax, eax
push eax
push eax
xor edx, edx
mov ecx, edi
call fcn.1006f2b9
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [esi + 0x28], ecx
test ecx, ecx
je 0x1007c59b
mov edx, dword [ebp - 0x14]
xor eax, eax
inc eax
cmp edx, eax
jle 0x1007c3bb
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [edx - 1]
mov edx, ecx
push eax
mov ecx, edi
call fcn.1006f1de
pop ecx
pop ecx
mov ecx, eax
mov dword [esi + 0x28], ecx
cmp byte [edi + 0x38], 0
mov dword [ebp - 0x20], ecx
jne 0x1007c59b
mov edx, dword [ebp - 0x14]
test edx, edx
jle 0x1007c416
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 8]
add esi, 8
add edi, 8
add edi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
mov edx, dword [edi + 0x34]
mov ecx, ebx
call fcn.1006f15d
push 0x12
pop ecx
push 0x48
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2c]
push eax
push esi
call fcn.100a56b0
mov edi, dword [ebp - 0x28]
add edi, 0x48
add esi, 0x48
add esp, 0xc
dec dword [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], esi
jne 0x1007c3d6
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov dl, byte [ebp - 1]
mov byte [eax + ecx + 0x28], dl
mov eax, dword [esi]
xor edx, edx
mov ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
cmp dword [eax], edx
jle 0x1007c471
mov ebx, edx
xor esi, esi
mov edx, dword [eax + 8]
cmp dword [ebx + edx + 4], esi
jne 0x1007c460
mov edx, dword [ebx + edx + 8]
mov ecx, edi
call fcn.10046fd4
mov esi, eax
mov ecx, esi
call fcn.1004891c
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
mov dword [ebx + ecx + 4], esi
mov ecx, dword [ebp - 0x2c]
xor esi, esi
inc ecx
add ebx, 0x18
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [eax]
jl 0x1007c434
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov edx, dword [esi]
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.1007bf43
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
je 0x1007c4ab
push dword [ebx]
mov edx, dword [esi + 0x30]
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.1007bf43
push dword [ebx]
mov edx, dword [esi + 0x34]
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.1007be9c
add esp, 0x10
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x1007c4bc
mov dword [esi + 0x38], eax
xor eax, eax
mov dword [ebx + 0x38], eax
jmp 0x1007c4d3
mov edx, dword [esi + 0x38]
test edx, edx
je 0x1007c4d1
push dword [ebx]
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.1007bf43
pop ecx
pop ecx
xor eax, eax
mov edx, dword [ebx + 0x2c]
test edx, edx
je 0x1007c4ec
push eax
push eax
mov ecx, edi
call fcn.100672f6
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
jmp 0x1007c4f1
mov ecx, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x10], 0
je 0x1007c543
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x34], eax
push dword [ebx]
mov edx, eax
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.1007be9c
mov dword [esi + 0x34], eax
mov edx, dword [ebx + 0x34]
xor eax, eax
push eax
push eax
mov ecx, edi
call fcn.100672f6
mov edx, dword [esi + 0x34]
push eax
mov ecx, edi
call fcn.10066f05
mov dword [esi + 0x34], eax
mov edx, dword [ebx + 0x30]
add esp, 0x14
xor eax, eax
push eax
mov ecx, edi
call fcn.100674f7
pop ecx
mov dword [esi + 0x30], eax
jmp 0x1007c567
push dword [ebx]
mov edx, dword [esi + 0x2c]
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.1007be9c
push dword [ebp - 0x2c]
mov edx, eax
mov ecx, edi
mov dword [esi + 0x2c], eax
call fcn.10066f05
add esp, 0xc
mov dword [esi + 0x2c], eax
mov ax, word [ebx + 6]
xor ecx, ecx
inc ecx
and ax, cx
or word [esi + 6], ax
mov eax, dword [ebx + 0x48]
xor ecx, ecx
test eax, eax
je 0x1007c584
mov dword [esi + 0x48], eax
mov dword [ebx + 0x48], ecx
mov esi, dword [esi + 0x3c]
mov ebx, dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], ebx
test esi, esi
jne 0x1007c341
mov edx, dword [ebp - 0x34]
mov ecx, edi
call fcn.10079472
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret