Function at 0x207c3490
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 0x207c34e2
cmp al, 3
jne 0x207c34a8
mov eax, dword [esi + 0x50]
jmp 0x207c34e4
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 0x207c34de
mov ecx, dword [esi + 0x44]
push ecx
call fcn.207e0a40
add esp, 4
mov dword [esi + 0x44], ebp
mov eax, edi
jmp 0x207c34e6
xor eax, eax
xor ebp, ebp
cmp eax, ebp
jne 0x207c36c6
mov al, byte [esi + 0x43]
mov byte [esi + 0x41], 0
test al, al
jne 0x207c350a
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
jge 0x207c3521
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], ebp
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [esi + 0x18]
mov cl, byte [eax + 4]
test cl, cl
jne 0x207c36cb
mov ecx, dword [eax + 0x44]
mov edi, dword [esi + 0x1c]
xor edx, edx
mov ebx, ecx
mov dx, word [eax + 0xc]
add ebx, edx
xor edx, edx
mov dl, byte [ebx + edi*2 + 1]
mov dh, byte [ebx + edi*2]
lea edi, [ebx + edi*2]
xor edi, edi
mov di, word [eax + 0x14]
and edx, edi
add edx, ecx
push edx
call fcn.2082c4f0
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x18]
add esp, 4
cmp eax, ebp
jne 0x207c356f
mov ecx, 0xb
jmp 0x207c35c8
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 0x207c35ba
mov eax, dword [esp + 0x14]
cmp byte [eax], 0
jne 0x207c35be
push ebx
push eax
call fcn.207c04b0
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x207c35ba
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x207c35b2
mov eax, dword [eax + 0x48]
push eax
call fcn.207e5b30
add esp, 4
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x207c35be
mov eax, dword [esp + 0x14]
cmp edi, ebp
mov ecx, edi
je 0x207c365e
cmp ecx, ebp
mov eax, ecx
jne 0x207c36c6
mov ebx, 1
mov edi, dword [esi + 0x18]
xor eax, eax
mov cl, byte [edi + 4]
test cl, cl
jne 0x207c36a8
mov al, byte [edi + 6]
mov ecx, dword [edi + 0x44]
lea edx, [eax + ecx + 8]
push edx
call fcn.2082c4f0
mov edx, dword [esi + 0x18]
xor ecx, ecx
mov cx, word [edi + 0x12]
push edx
lea edx, [esp + 0x1c]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.207c32f0
add esp, 0x14
cmp eax, ebp
jne 0x207c36be
mov ecx, dword [esp + 0x14]
mov ax, word [esi + 0x1c]
mov word [ecx + 0xe], ax
mov eax, dword [esi + 0x18]
cmp eax, ebp
mov byte [eax + 1], 0
je 0x207c3641
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], bx
jb 0x207c36be
jmp 0x207c35d7
mov cx, word [esi + 0x1c]
mov word [eax + 0xe], cx
mov eax, dword [esi + 0x18]
cmp eax, ebp
mov byte [eax + 1], 0
je 0x207c367d
mov edx, dword [eax + 0x48]
push edx
call fcn.207e5b30
add esp, 4
mov eax, dword [esp + 0x14]
mov ebx, 1
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebp
mov word [esi + 0x3e], bp
mov byte [esi + 0x42], 0
cmp word [eax + 0x12], bx
jae 0x207c35d7
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
ret
cmp eax, ebp
jne 0x207c36be
xor eax, eax
mov ax, word [edi + 0x12]
mov word [esi + 0x3e], bp
dec eax
mov byte [esi + 0x42], 0
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [ecx], ebp
pop edi
pop esi
pop ebp
pop ebx
ret
cmp dword [esi + 0x1c], ebp
jne 0x207c374d
mov eax, dword [eax + 0x50]
cmp eax, ebp
je 0x207c3736
cmp dword [eax + 0x4c], 1
ja 0x207c36f4
mov edx, dword [eax + 0x44]
xor ecx, ecx
mov cl, byte [eax + 6]
lea eax, [ecx + edx]
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 4]
test ecx, ecx
je 0x207c3736
mov ebp, dword [esi + 0x18]
xor edi, edi
mov ebx, dword [ebp + 0x50]
mov di, word [ebp + 0xe]
mov edx, dword [ebx + 0x48]
push edx
call fcn.207e3890
add esp, 4
test ebp, ebp
je 0x207c371c
mov eax, dword [ebp + 0x48]
push eax
call fcn.207e5b30
add esp, 4
test edi, edi
mov dword [esi + 0x18], ebx
mov word [esi + 0x3e], 0
mov byte [esi + 0x42], 0
mov dword [esi + 0x1c], edi
mov eax, ebx
jne 0x207c374b
xor ebp, ebp
jmp 0x207c36d0
mov ecx, dword [esp + 0x18]
mov byte [esi + 0x43], 0
pop edi
pop esi
pop ebp
mov dword [ecx], 1
xor eax, eax
pop ebx
ret
xor ebp, ebp
mov edx, dword [esi + 0x1c]
mov word [esi + 0x3e], bp
dec edx
mov byte [esi + 0x42], 0
mov dword [esi + 0x1c], edx
mov cl, byte [eax + 3]
test cl, cl
je 0x207c36be
mov cl, byte [eax + 4]
test cl, cl
jne 0x207c36be
mov edx, dword [esp + 0x18]
push edx
push esi
call fcn.207c3490
mov ecx, dword [esp + 0x20]
add esp, 8
pop edi
mov dword [ecx], ebp
pop esi
pop ebp
pop ebx
ret