Function at 0x207c2fc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov al, byte [esi + 0x43]
cmp al, 2
jb 0x207c3012
cmp al, 3
jne 0x207c2fd8
mov eax, dword [esi + 0x50]
jmp 0x207c3014
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
lea eax, [esi + 0x50]
xor ebp, ebp
push eax
mov eax, dword [esi + 0x44]
push ebp
push ecx
push edx
push ebp
push eax
push esi
mov byte [esi + 0x43], 0
call fcn.207c2a10
mov edi, eax
add esp, 0x1c
cmp edi, ebp
jne 0x207c300e
mov ecx, dword [esi + 0x44]
push ecx
call fcn.207e0a40
add esp, 4
mov dword [esi + 0x44], ebp
mov eax, edi
jmp 0x207c3016
xor eax, eax
xor ebp, ebp
cmp eax, ebp
jne 0x207c32e3
mov al, byte [esi + 0x43]
mov edi, dword [esi + 0x18]
test al, al
jne 0x207c3039
mov edx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [edx], 1
xor eax, eax
pop ebx
ret
mov eax, dword [esi + 0x50]
mov dword [esi + 0x50], ebp
cmp eax, ebp
jle 0x207c3050
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], ebp
pop ebp
xor eax, eax
pop ebx
ret
mov ebx, dword [esi + 0x1c]
xor ecx, ecx
inc ebx
mov word [esi + 0x3e], bp
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x42], 0
mov cx, word [edi + 0x12]
mov eax, ebx
cmp eax, ecx
jl 0x207c3234
mov al, byte [edi + 4]
test al, al
jne 0x207c3196
mov eax, dword [edi + 0x44]
xor edx, edx
mov dl, byte [edi + 6]
lea ecx, [edx + eax + 8]
push ecx
call fcn.2082c4f0
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x18]
add esp, 4
cmp eax, ebp
jne 0x207c30a0
mov ecx, 0xb
jmp 0x207c30f5
lea edx, [esp + 0x14]
push ebp
push edx
push eax
push ecx
call fcn.207c06a0
mov edi, eax
add esp, 0x10
cmp edi, ebp
jne 0x207c30eb
mov eax, dword [esp + 0x14]
cmp byte [eax], 0
jne 0x207c30ef
push ebx
push eax
call fcn.207c04b0
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x207c30eb
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x207c30e3
mov eax, dword [eax + 0x48]
push eax
call fcn.207e5b30
add esp, 4
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x207c30ef
mov eax, dword [esp + 0x14]
cmp edi, ebp
mov ecx, edi
je 0x207c3150
cmp ecx, ebp
mov eax, ecx
jne 0x207c32e3
xor eax, eax
mov ecx, dword [esi + 0x18]
mov dl, byte [ecx + 4]
test dl, dl
jne 0x207c3145
mov eax, dword [ecx + 0x44]
mov edi, dword [esi + 0x1c]
xor edx, edx
mov ebx, eax
mov dx, word [ecx + 0xc]
add ebx, edx
xor edx, edx
mov dh, byte [ebx + edi*2]
mov dl, byte [ebx + edi*2 + 1]
lea edi, [ebx + edi*2]
xor edi, edi
mov di, word [ecx + 0x14]
and edx, edi
add edx, eax
push edx
call fcn.2082c4f0
push eax
push esi
call fcn.207c33a0
add esp, 0xc
cmp eax, ebp
je 0x207c3101
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], ebp
pop ebp
pop ebx
ret
mov cx, word [esi + 0x1c]
mov word [eax + 0xe], cx
mov eax, dword [esi + 0x18]
cmp eax, ebp
mov byte [eax + 1], 0
je 0x207c316f
mov edx, dword [eax + 0x48]
push edx
call fcn.207e5b30
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x18], eax
mov word [esi + 0x3e], bp
mov byte [esi + 0x42], 0
cmp word [eax + 0x12], 1
jae 0x207c30ff
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
ret
mov edi, dword [edi + 0x50]
cmp edi, ebp
je 0x207c31ff
cmp dword [edi + 0x4c], 1
ja 0x207c31b9
mov eax, dword [edi + 0x44]
xor edx, edx
mov dl, byte [edi + 6]
xor ecx, ecx
add eax, edx
mov ch, byte [eax + 3]
mov cl, byte [eax + 4]
test ecx, ecx
je 0x207c31ff
mov ebx, dword [esi + 0x18]
xor ebp, ebp
mov edi, dword [ebx + 0x50]
mov bp, word [ebx + 0xe]
mov edx, dword [edi + 0x48]
push edx
call fcn.207e3890
add esp, 4
test ebx, ebx
je 0x207c31e1
mov eax, dword [ebx + 0x48]
push eax
call fcn.207e5b30
add esp, 4
xor ecx, ecx
mov dword [esi + 0x18], edi
mov word [esi + 0x3e], 0
mov byte [esi + 0x42], 0
mov dword [esi + 0x1c], ebp
mov cx, word [edi + 0x12]
cmp ebp, ecx
jl 0x207c3214
xor ebp, ebp
jmp 0x207c3196
mov edx, dword [esp + 0x18]
pop edi
xor eax, eax
mov dword [edx], 1
mov byte [esi + 0x43], 0
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x18]
mov dword [eax], 0
mov cl, byte [edi + 3]
test cl, cl
je 0x207c3241
push eax
push esi
call fcn.207c2fc0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x18]
mov dword [eax], ebp
mov al, byte [edi + 4]
test al, al
je 0x207c3248
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov ecx, dword [esi + 0x18]
xor eax, eax
mov dl, byte [ecx + 4]
test dl, dl
jne 0x207c32e3
mov eax, dword [ecx + 0x44]
mov edi, dword [esi + 0x1c]
xor edx, edx
mov ebx, eax
mov dx, word [ecx + 0xc]
add ebx, edx
xor edx, edx
mov dh, byte [ebx + edi*2]
mov dl, byte [ebx + edi*2 + 1]
lea edi, [ebx + edi*2]
xor edi, edi
mov di, word [ecx + 0x14]
and edx, edi
add edx, eax
push edx
call fcn.2082c4f0
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 4]
push edx
lea edx, [esp + 0x20]
push edx
push eax
push ecx
call fcn.207c32f0
add esp, 0x14
cmp eax, ebp
jne 0x207c32e3
mov ecx, dword [esp + 0x18]
mov ax, word [esi + 0x1c]
mov word [ecx + 0xe], ax
mov eax, dword [esi + 0x18]
cmp eax, ebp
mov byte [eax + 1], 0
je 0x207c32c1
mov edx, dword [eax + 0x48]
push edx
call fcn.207e5b30
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x18], eax
mov word [esi + 0x3e], bp
mov byte [esi + 0x42], 0
cmp word [eax + 0x12], 1
jae 0x207c3248
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
ret