Function at 0x4eac6c
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x38
mov edi, dword [esp + 0x4c]
mov esi, dword [edi + 0x9440]
mov ebp, dword [edi + 0x9444]
mov ecx, dword [edi + 0x944c]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x92c0]
lea ebx, [ecx + 0x440]
mov dword [esp + 0x30], ebx
lea ebx, [ecx + 0xe0]
mov dword [esp + 0x28], ebx
lea ebx, [ecx + 0x580]
mov dword [esp + 0x24], ebx
lea ebx, [ecx + 0x5e0]
lea eax, [ecx + 0x100]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0x120]
mov dword [esp + 0x18], eax
mov edi, dword [edi + 0x1824]
cmp edi, 1
je 0x4eaced
mov eax, esi
mov edx, ebp
mov ecx, dword [esp + 0x4c]
call fcn.004e665c
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx + 0x92c0]
movsx eax, byte [esi + 0x117]
mov dword [esp + 0xc], eax
movsx eax, byte [ebp + 0x117]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x14]
movsx eax, byte [esi + 0x117]
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x4c]
cmp dword [edi + 0x234], 0
je 0x4ead8d
mov dword [esp + 0x34], ebx
mov edi, dword [esp + 0x4c]
mov ebx, dword [edi + 0x9540]
mov esi, dword [edi + 0x9544]
mov eax, dword [edi + 0x954c]
mov dword [esp + 0x20], eax
cmp dword [ebx], 0x16
mov eax, 0
setg al
mov ebx, dword [esp + 0xc]
and ebx, eax
movsx eax, bl
mov dword [esp + 0xc], eax
cmp dword [esi], 0x16
mov eax, 0
setg al
mov ebx, dword [esp + 0x10]
and ebx, eax
movsx eax, bl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
cmp dword [eax], 0x16
mov eax, 0
setg al
mov ebx, dword [esp + 0x2c]
and ebx, eax
movsx eax, bl
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x34]
mov esi, dword [ecx + 0xd4]
test esi, esi
jne 0x4eadaa
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4eadaa
mov eax, 1
mov dword [esp + 0x20], eax
jmp 0x4eadb0
xor eax, eax
mov dword [esp + 0x20], eax
cmp esi, 1
jne 0x4eadc4
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4eadc4
mov eax, 1
jmp 0x4eadc6
xor eax, eax
or dword [esp + 0x20], eax
cmp esi, 3
jne 0x4eadde
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4eadde
mov eax, 1
jmp 0x4eade0
xor eax, eax
or dword [esp + 0x20], eax
mov ecx, dword [ecx + 0xd0]
cmp ecx, 1
jne 0x4eadfe
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4eadfe
mov eax, 1
jmp 0x4eae00
xor eax, eax
or dword [esp + 0x20], eax
cmp ecx, 2
jne 0x4eae18
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4eae18
mov eax, 1
jmp 0x4eae1a
xor eax, eax
or dword [esp + 0x20], eax
cmp ecx, 3
jne 0x4eae32
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4eae32
mov eax, 1
jmp 0x4eae34
xor eax, eax
or dword [esp + 0x20], eax
mov edi, dword [esp + 0x28]
movzx eax, byte [edi]
mov esi, dword [esp + 0x30]
mov byte [esi + 0x100], al
mov eax, edi
movzx eax, byte [eax + 8]
mov byte [esi + 0x108], al
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax]
mov ecx, dword [esp + 0x24]
mov byte [ecx + 0x40], al
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
mov byte [ebx + 0x40], al
movzx eax, byte [ebp + 0x30]
mov byte [esi + 0x110], al
movzx eax, byte [ebp + 0x38]
mov byte [esi + 0x118], al
movzx eax, byte [ebp + 0x50]
mov byte [ecx + 0x48], al
movzx eax, byte [ebp + 0x60]
mov byte [ebx + 0x48], al
mov eax, edi
movzx eax, byte [eax + 1]
mov byte [esi + 0x101], al
mov eax, edi
movzx eax, byte [eax + 9]
mov byte [esi + 0x109], al
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 1]
mov byte [ecx + 0x41], al
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 1]
mov byte [ebx + 0x41], al
movzx eax, byte [ebp + 0x31]
mov byte [esi + 0x111], al
movzx eax, byte [ebp + 0x39]
mov byte [esi + 0x119], al
movzx eax, byte [ebp + 0x51]
mov byte [ecx + 0x49], al
movzx eax, byte [ebp + 0x61]
mov byte [ebx + 0x49], al
mov eax, edi
movzx eax, byte [eax + 2]
mov byte [esi + 0x102], al
mov eax, edi
movzx eax, byte [eax + 0xa]
mov byte [esi + 0x10a], al
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 2]
mov byte [ecx + 0x42], al
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 2]
mov byte [ebx + 0x42], al
movzx eax, byte [ebp + 0x32]
mov byte [esi + 0x112], al
movzx eax, byte [ebp + 0x3a]
mov byte [esi + 0x11a], al
movzx eax, byte [ebp + 0x52]
mov byte [ecx + 0x4a], al
movzx eax, byte [ebp + 0x62]
mov byte [ebx + 0x4a], al
mov eax, edi
movzx eax, byte [eax + 3]
mov byte [esi + 0x103], al
mov eax, edi
movzx eax, byte [eax + 0xb]
mov byte [esi + 0x10b], al
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 3]
mov byte [ecx + 0x43], al
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 3]
mov byte [ebx + 0x43], al
movzx eax, byte [ebp + 0x33]
mov byte [esi + 0x113], al
movzx eax, byte [ebp + 0x3b]
mov byte [esi + 0x11b], al
movzx eax, byte [ebp + 0x53]
mov byte [ecx + 0x4b], al
movzx eax, byte [ebp + 0x63]
mov byte [ebx + 0x4b], al
mov eax, edi
movzx eax, byte [eax + 4]
mov byte [esi + 0x104], al
mov eax, edi
movzx eax, byte [eax + 0xc]
mov byte [esi + 0x10c], al
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 4]
mov byte [ecx + 0x44], al
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 4]
mov byte [ebx + 0x44], al
movzx eax, byte [ebp + 0x34]
mov byte [esi + 0x114], al
movzx eax, byte [ebp + 0x3c]
mov byte [esi + 0x11c], al
movzx eax, byte [ebp + 0x54]
mov byte [ecx + 0x4c], al
movzx eax, byte [ebp + 0x64]
mov byte [ebx + 0x4c], al
mov eax, edi
movzx eax, byte [eax + 5]
mov byte [esi + 0x105], al
mov eax, edi
movzx eax, byte [eax + 0xd]
mov byte [esi + 0x10d], al
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 5]
mov byte [ecx + 0x45], al
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 5]
mov byte [ebx + 0x45], al
movzx eax, byte [ebp + 0x35]
mov byte [esi + 0x115], al
movzx eax, byte [ebp + 0x3d]
mov byte [esi + 0x11d], al
movzx eax, byte [ebp + 0x55]
mov byte [ecx + 0x4d], al
movzx eax, byte [ebp + 0x65]
mov byte [ebx + 0x4d], al
mov eax, edi
movzx eax, byte [eax + 6]
mov byte [esi + 0x106], al
mov eax, edi
movzx eax, byte [eax + 0xe]
mov byte [esi + 0x10e], al
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 6]
mov byte [ecx + 0x46], al
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 6]
mov byte [ebx + 0x46], al
movzx eax, byte [ebp + 0x36]
mov byte [esi + 0x116], al
movzx eax, byte [ebp + 0x3e]
mov byte [esi + 0x11e], al
movzx eax, byte [ebp + 0x56]
mov byte [ecx + 0x4e], al
movzx eax, byte [ebp + 0x66]
mov byte [ebx + 0x4e], al
mov eax, edi
movzx eax, byte [eax + 7]
mov byte [esi + 0x107], al
mov eax, edi
movzx eax, byte [eax + 0xf]
mov byte [esi + 0x10f], al
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 7]
mov byte [ecx + 0x47], al
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 7]
mov byte [ebx + 0x47], al
movzx eax, byte [ebp + 0x37]
mov byte [esi + 0x117], al
movzx eax, byte [ebp + 0x3f]
mov byte [esi + 0x11f], al
movzx ecx, byte [ebp + 0x57]
mov eax, dword [esp + 0x24]
mov byte [eax + 0x4f], cl
movzx edx, byte [ebp + 0x67]
mov byte [ebx + 0x4f], dl
mov edx, dword [esp + 0x14]
movzx eax, byte [edx + 0x3f]
mov byte [esi + 0x128], al
movzx eax, byte [edx + 0x57]
mov ebp, dword [esp + 0x24]
mov byte [ebp + 0x50], al
movzx eax, byte [edx + 0x67]
mov byte [ebx + 0x50], al
mov ebx, dword [esp + 0xc]
movzx ebx, bl
mov byte [esi + 0x133], bl
mov byte [esi + 0x132], bl
mov byte [esi + 0x131], bl
mov byte [esi + 0x130], bl
mov eax, dword [esp + 0x10]
mov byte [esi + 0x12e], al
mov byte [esi + 0x12a], 1
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x92c0]
mov ebx, dword [edx + 0xd4]
mov ecx, dword [eax + 0x9a8c]
lea eax, [edx + 0x440]
add edx, 0x140
push edx
push eax
call dword [ecx + ebx*4]
mov eax, dword [esp + 0x54]
mov esi, dword [eax + 0x92c0]
mov edi, dword [esi + 0xd0]
mov eax, dword [eax + 0x9a90]
mov dword [esp + 0x3c], eax
lea ebp, [esi + 0x440]
lea ebx, [esi + 0x580]
lea ecx, [esi + 0x5e0]
lea edx, [esi + 0x340]
lea eax, [esi + 0x3c0]
mov esi, dword [esi + 0xcc]
shr esi, 4
push esi
push eax
push edx
push ecx
push ebx
push ebp
mov eax, dword [esp + 0x54]
call dword [eax + edi*4]
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx + 0x1fc]
mov eax, dword [ecx + 8]
inc dword [eax + 0xbc]
mov eax, dword [esp + 0x40]
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret