Function at 0x4c0a10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x17c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x30]
push 4
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x38], ebx
call dword [0x10075f84]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [ebp + 0xc]
push edx
add eax, 4
push eax
call fcn.004c8b80
test eax, eax
je 0x4c0ebe
push 4
lea ecx, [esp + 0x20]
push ecx
call dword [0x10075f84]
mov esi, dword [esp + 0x14]
test dword [esi + 0x20], 0x1000000
mov eax, dword [ebp + 0x14]
je 0x4c0d6e
cmp eax, ebx
je 0x4c0a85
cmp dword [eax], ebx
je 0x4c0a85
mov esi, 0xc0000018
jmp 0x4c0eac
push 4
lea edx, [esp + 0x14]
push edx
call dword [0x10075f84]
mov eax, dword [esi + 0x58]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
mov edx, dword [esp + 0x10]
mov esi, dword [edx]
xor edi, edi
push edi
push edi
xor ecx, ecx
push ecx
mov ecx, dword [esi + 0x14]
xor eax, eax
push eax
push edx
call ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x30]
push ecx
push 0x40
lea ecx, [esp + 0x58]
push ecx
push eax
call edx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx]
push edi
cdq
push edi
push edx
push eax
mov eax, dword [esi + 0x14]
push ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0xf8
lea edx, [esp + 0x98]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [esp + 0x10]
cmp eax, edi
mov ecx, dword [esp + 0xc4]
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x18], ecx
je 0x4c0b2c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x10], edi
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb8]
cmp dword [edx + 0x90], edi
je 0x4c0b7e
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
push eax
lea edi, [esp + 0x24]
mov ebx, 1
call fcn.00498aa0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xb8]
add eax, 0x94
mov ecx, edi
call fcn.004c8780
test al, al
je 0x4c0b7c
mov edi, ebx
jmp 0x4c0b7e
xor edi, edi
test bl, 1
je 0x4c0b90
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c0b90
call fcn.004b16a0
test edi, edi
je 0x4c0bb0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb8]
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x4c0bb0
mov dword [esp + 0x18], eax
jmp 0x4c0c88
mov ecx, dword [esp + 0x14]
mov edx, dword [0x10075e30]
mov ebx, dword [edx + 0x2f4]
push 0x40
push 0x100000
push 1
lea eax, [esp + 0x2c]
push eax
push 0
push esi
mov dword [esp + 0x38], esi
mov edi, dword [ecx + 0x1c]
push 0
lea ecx, [esp + 0x34]
push ecx
call dword [0x1005f1dc]
push eax
push edi
call ebx
mov esi, eax
cmp esi, 0xc0000018
jne 0x4c0c3c
cmp dword [esp + 0x18], 0
je 0x4c0c3c
mov edx, dword [esp + 0x14]
mov eax, dword [0x10075e30]
push 0x40
push 0x100000
push 1
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x28], 0
mov esi, dword [edx + 0x1c]
mov edx, dword [esp + 0x30]
mov edi, dword [eax + 0x2f4]
push 0
push edx
push 0
lea eax, [esp + 0x34]
push eax
call dword [0x1005f1dc]
push eax
push esi
call edi
mov esi, eax
test esi, esi
jne 0x4c0eac
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x3c]
add eax, ecx
movzx ecx, word [eax + 0x14]
mov ebx, eax
xor edi, edi
cmp word [ebx + 6], di
lea eax, [eax + ecx + 0x18]
jbe 0x4c0c88
lea esi, [eax + 0xc]
mov eax, dword [esi]
mov ecx, dword [esi - 4]
add eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0x40
push ecx
push eax
call dword [0x1005f06c]
movzx eax, word [ebx + 6]
add edi, 1
add esi, 0x28
cmp edi, eax
jl 0x4c0c62
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x4c0ca7
mov edx, dword [esp + 0x18]
push 0x1c
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [0x1005f1e8]
mov eax, dword [esp + 0x40]
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4c0cb4
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov edx, dword [esp + 0x14]
push edx
lea esi, [esp + 0x24]
call fcn.004c8730
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor edx, edx
push edx
mov dword [esp + 0x28], eax
xor eax, eax
push eax
mov eax, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x2c]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [ebp + 0x18]
push ecx
push edx
push ecx
mov ecx, dword [esp + 0x38]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c0cfd
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004bbbb0
mov esi, eax
mov eax, dword [esp + 0x44]
add esp, 0x28
test eax, eax
je 0x4c0d24
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x1c], 0
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4c0d36
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c0d46
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
add eax, 0x24
push eax
call fcn.004a9720
mov esi, 0x40000003
jmp 0x4c0eac
cmp eax, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x4c0d84
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4c0d98
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov ecx, dword [0x10075e30]
mov edx, dword [ebp + 0x2c]
mov ebx, dword [ecx + 0x2f4]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
mov esi, dword [esi + 0x1c]
push edi
push edx
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x30]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [0x1005f1dc]
push eax
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x4c0eac
mov ecx, dword [esp + 0x10]
push 0x1c
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x1005f1e8]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [esp + 0x48]
push edi
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
push ecx
mov ecx, dword [esp + 0x38]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c0e26
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004bbbb0
mov esi, eax
mov eax, dword [esp + 0x44]
add esp, 0x28
test eax, eax
je 0x4c0e4d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x1c], 0
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4c0e5f
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4c0e6f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp + 0x14]
test ecx, ecx
mov eax, dword [esp + 0x10]
je 0x4c0e7c
mov dword [ecx], eax
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x4c0e90
mov edx, dword [esp + 0x20]
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
add edx, 0x24
push edx
call fcn.004a9720
xor esi, esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4c0ef2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4c0ef2
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
mov eax, dword [0x10075e30]
mov eax, dword [eax + 0x2f4]
push edi
push ecx
mov ecx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push ecx
call eax
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c0f02
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c