Function at 0x42a5a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 0
push edi
mov edi, dword [ebp + 8]
je 0x42a5cb
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x42a5cb
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov byte [esi + 0x1c], 0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
xor edi, edi
mov ecx, esi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
call fcn.0042b960
mov eax, dword [esi + 0x28]
cmp eax, 4
mov dword [esp + 0x10], edi
jb 0x42a77d
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
bswap edx
mov dword [esp + 0x18], edx
ja 0x42a611
mov eax, dword [esi + 0x18]
mov dword [esi + 0x28], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], edi
jmp 0x42a621
add dword [esi + 0x20], 4
add ecx, 4
add eax, 0xfffffffc
mov dword [esi + 0x14], ecx
mov dword [esi + 0x28], eax
cmp edx, edi
mov dword [esp + 0x14], edi
jbe 0x42a705
lea ecx, [ecx]
cmp dword [esi + 0x28], edi
jbe 0x42a705
mov eax, dword [esi + 0x28]
cmp eax, 2
jb 0x42a77d
mov edi, dword [esi + 0x14]
mov cx, word [edi]
mov dh, cl
mov dl, ch
movzx ebx, dx
ja 0x42a664
mov eax, dword [esi + 0x18]
xor edi, edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], edi
jmp 0x42a676
add dword [esi + 0x20], 2
add edi, 2
add eax, 0xfffffffe
mov dword [esi + 0x14], edi
mov dword [esi + 0x28], eax
xor edi, edi
push 0xb
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
cmp eax, edi
je 0x42a697
mov dword [eax + 2], edi
mov dword [eax + 6], edi
mov byte [eax], 0
mov byte [eax + 1], 1
mov byte [eax + 0xa], 0
mov edi, eax
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
push ecx
mov ecx, edi
call fcn.004271e0
test al, al
je 0x42a753
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esi + 4]
mov word [esp + 0x24], bx
mov dword [esp + 0x28], edi
call fcn.0042bc60
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x10]
add edx, ecx
cmp dword [esi + 0x18], edx
ja 0x42a6ee
mov eax, dword [esi + 0x28]
cmp ecx, eax
jg 0x42a6ee
add dword [esi + 0x20], ecx
sub eax, ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x14]
add eax, 1
xor edi, edi
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jb 0x42a630
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
lea eax, [esi + 4]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x10]
cmp eax, edi
mov dword [esi + 0x30], ecx
je 0x42a71f
mov edx, dword [esi + 0x20]
mov dword [eax], edx
cmp byte [esi + 0x1c], 0
je 0x42a739
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x42a739
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov byte [esi + 0x1c], 0
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test edi, edi
je 0x42a77d
cmp byte [edi + 0xa], 0
je 0x42a774
mov eax, dword [edi + 6]
test eax, eax
je 0x42a774
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov dword [edi + 6], 0
push edi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc