Function at 0x4f4a20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x34]
xor esi, esi
or eax, 0xffffffff
cmp edi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], 1
mov byte [esp + 8], 0xff
je 0x4f4a62
cmp dword [edi + 0x1c], esi
jne 0x4f4a62
xor edi, edi
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x4f4a75
cmp dword [eax + 0x1c], esi
jne 0x4f4a75
xor eax, eax
mov dword [esp + 0x3c], eax
cmp edi, esi
jne 0x4f4a88
cmp eax, esi
jne 0x4f4a88
pop edi
mov eax, 1
pop esi
add esp, 0x20
ret
push ebx
mov ebx, dword [esp + 0x30]
cmp ebx, esi
push ebp
jne 0x4f4aa1
mov eax, dword [esp + 0x38]
push eax
call fcn.004f3a60
add esp, 4
mov ebx, eax
mov ebp, dword [0x703424]
cmp ebx, esi
mov dword [esp + 0x38], ebx
je 0x4f4ea3
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x4f4ad5
push ebx
call fcn.004f51b0
mov cl, byte [esi]
add esp, 4
test eax, eax
setne al
cmp cl, al
je 0x4f4e94
mov byte [esi], al
test edi, edi
je 0x4f4b28
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x147
push ecx
call ebp
cmp eax, 0xffffffff
je 0x4f4aff
mov edx, dword [edi + 0x1c]
push 0
push eax
push 0x150
push edx
call ebp
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0x14b
push eax
call ebp
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4f4b28
push 0xff
push 0
push 0xffffffffffffffff
push edi
call fcn.004f49b0
add esp, 0x10
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4f4b7f
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x147
push ecx
call ebp
cmp eax, 0xffffffff
je 0x4f4b56
mov edx, dword [esi + 0x1c]
push 0
push eax
push 0x150
push edx
call ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x14b
push eax
call ebp
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4f4b7f
push 0xff
push 0
push 0xffffffffffffffff
push esi
call fcn.004f49b0
add esp, 0x10
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4f4e94
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
push edx
push 3
push 0
push 0
push ebx
call fcn.004f6380
mov esi, eax
push 0
lea eax, [esp + 0x44]
push 0x2a
lea ecx, [esp + 0x3c]
push eax
push ecx
push ebx
call fcn.004f5500
push ebx
mov edi, eax
call fcn.004fc770
add esp, 0x30
mov byte [esp + 0x10], al
mov ebx, dword [esp + 0x10]
test esi, esi
je 0x4f4cf5
mov edx, dword [esp + 0x24]
xor esi, esi
lea eax, [edx - 8]
test eax, eax
mov dword [esp + 0x4c], eax
jle 0x4f4dc6
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4f4c64
mov ecx, dword [esp + 0x18]
xor eax, eax
xor edx, edx
mov ah, byte [esi + ecx + 0x14]
mov dl, byte [esi + ecx + 0x16]
mov al, byte [esi + ecx + 0x15]
shl eax, 8
or eax, edx
xor edx, edx
mov dl, byte [esi + ecx + 0x17]
shl eax, 8
or eax, edx
test esi, esi
mov ebp, eax
jle 0x4f4c50
mov edi, 0xffffffeb
lea eax, [ecx + 0x15]
sub edi, ecx
xor ecx, ecx
xor edx, edx
mov ch, byte [eax - 1]
mov dl, byte [eax + 1]
mov cl, byte [eax]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 2]
shl ecx, 8
or ecx, edx
cmp ecx, ebp
je 0x4f4c4e
add eax, 0x10
lea ecx, [edi + eax]
cmp ecx, esi
jl 0x4f4c23
jmp 0x4f4c50
xor ebp, ebp
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x14]
push ebx
push edx
push ebp
push eax
call fcn.004f49b0
add esp, 0x10
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4f4ce1
mov ecx, dword [esp + 0x18]
xor edx, edx
xor eax, eax
mov dh, byte [esi + ecx + 0x10]
mov al, byte [esi + ecx + 0x12]
mov dl, byte [esi + ecx + 0x11]
shl edx, 8
or edx, eax
xor eax, eax
mov al, byte [esi + ecx + 0x13]
shl edx, 8
or edx, eax
test esi, esi
mov ebp, edx
jle 0x4f4ccd
mov edi, 0xffffffef
lea eax, [ecx + 0x11]
sub edi, ecx
xor ecx, ecx
xor edx, edx
mov ch, byte [eax - 1]
mov dl, byte [eax + 1]
mov cl, byte [eax]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 2]
shl ecx, 8
or ecx, edx
cmp ecx, ebp
je 0x4f4ccb
add eax, 0x10
lea ecx, [edi + eax]
cmp ecx, esi
jl 0x4f4ca0
jmp 0x4f4ccd
xor ebp, ebp
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push ebx
push edx
push ebp
push eax
call fcn.004f49b0
add esp, 0x10
mov eax, dword [esp + 0x4c]
add esi, 0x10
cmp esi, eax
jl 0x4f4be7
jmp 0x4f4dc6
test edi, edi
je 0x4f4dc6
mov eax, dword [esp + 0x28]
mov ecx, 0x1e
cmp eax, ecx
jb 0x4f4dc6
mov edx, dword [esp + 0x1c]
xor eax, eax
xor ebx, ebx
mov ah, byte [edx + 6]
mov bh, byte [edx]
mov al, byte [edx + 7]
mov bl, byte [edx + 1]
add eax, 8
add ebx, 2
lea esi, [eax + 0x20]
cmp ebx, esi
jbe 0x4f4d8e
cmp byte [eax + edx + 1], cl
jbe 0x4f4d8e
xor ecx, ecx
xor edi, edi
mov ch, byte [eax + edx + 0x1e]
mov cl, byte [eax + edx + 0x1f]
shl ecx, 2
mov ebp, ecx
test ebp, ebp
jle 0x4f4dc6
mov esi, eax
jmp 0x4f4d51
mov edx, dword [esp + 0x1c]
lea eax, [esi + 0x24]
cmp eax, ebx
ja 0x4f4dc6
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4f4d82
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push ecx
xor ecx, ecx
mov ch, byte [esi + edx + 0x22]
push eax
mov cl, byte [esi + edx + 0x23]
mov edx, dword [esp + 0x4c]
push ecx
push edx
call fcn.004f49b0
add esp, 0x10
add edi, 4
add esi, 4
cmp edi, ebp
jl 0x4f4d4d
jmp 0x4f4dc6
lea ecx, [eax + 0x14]
cmp ebx, ecx
jb 0x4f4dc6
cmp byte [eax + edx + 1], 0x12
jb 0x4f4dc6
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4f4dc6
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push ecx
xor ecx, ecx
mov ch, byte [eax + edx + 0x12]
mov cl, byte [eax + edx + 0x13]
mov edx, dword [esp + 0x4c]
push ecx
push edx
call fcn.004f49b0
add esp, 0x10
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x4f4e26
mov eax, dword [ebx + 0x1c]
mov ebp, dword [0x703424]
push 0
push 0
push 0x146
push eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x4f4e2c
test edi, edi
jle 0x4f4e2c
cmp dword [esp + 0x20], 0xffffffff
je 0x4f4e2c
xor esi, esi
test edi, edi
jle 0x4f4e2c
mov ecx, dword [ebx + 0x1c]
push 0
push esi
push 0x150
push ecx
call ebp
cmp eax, dword [esp + 0x20]
je 0x4f4e16
inc esi
cmp esi, edi
jl 0x4f4dfb
jmp 0x4f4e2c
mov edx, dword [ebx + 0x1c]
push 0
push esi
push 0x14e
push edx
call ebp
jmp 0x4f4e2c
mov ebp, dword [0x703424]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4f4e8c
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0x146
push eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x4f4e8c
test edi, edi
jle 0x4f4e8c
mov ebx, dword [esp + 0x2c]
cmp ebx, 0xffffffff
je 0x4f4e8c
xor esi, esi
test edi, edi
jle 0x4f4e8c
mov ecx, dword [esp + 0x44]
push 0
push esi
push 0x150
mov edx, dword [ecx + 0x1c]
push edx
call ebp
cmp eax, ebx
je 0x4f4e7a
inc esi
cmp esi, edi
jl 0x4f4e5d
jmp 0x4f4e8c
mov eax, dword [esp + 0x44]
push 0
push esi
push 0x14e
mov ecx, dword [eax + 0x1c]
push ecx
call ebp
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x34], ebx
je 0x4f4ea3
push ebx
call fcn.004df7b0
add esp, 4
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x4f4eb4
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4f4ebf
push eax
call esi
test edi, edi
je 0x4f4f2b
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4f4ef0
mov edx, dword [edi + 0x1c]
push 0
push 0
push 0x146
push edx
call ebp
test eax, eax
jne 0x4f4ef0
mov eax, dword [esp + 0x10]
push eax
push 0
push 0xffffffffffffffff
push edi
call fcn.004f49b0
add esp, 0x10
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x146
push ecx
call ebp
cmp eax, 0xffffffff
je 0x4f4f2b
test eax, eax
jle 0x4f4f2b
mov edx, dword [edi + 0x1c]
push 0
push 0
push 0x147
push edx
call ebp
cmp eax, 0xffffffff
jne 0x4f4f2b
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0x14e
push eax
call ebp
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4f4f9a
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4f4f5f
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x146
push ecx
call ebp
test eax, eax
jne 0x4f4f5f
mov edx, dword [esp + 0x10]
push edx
push eax
push 0xffffffffffffffff
push esi
call fcn.004f49b0
add esp, 0x10
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x146
push eax
call ebp
cmp eax, 0xffffffff
je 0x4f4f9a
test eax, eax
jle 0x4f4f9a
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x147
push ecx
call ebp
cmp eax, 0xffffffff
jne 0x4f4f9a
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x14e
push edx
call ebp
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x20
ret