Function at 0x49c5b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x58
mov eax, dword [0x1001e40c]
xor eax, esp
mov dword [esp + 0x54], eax
push ebp
push esi
mov esi, dword [esp + 0x64]
mov ebp, ecx
push edi
mov edi, dword [ebp]
test edi, edi
je 0x49c7ca
cmp dword [0x1001f420], 2
jne 0x49c6cb
push 0x50
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004a0630
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
add esp, 0xc
cmp byte [esi + 0x10], 0
mov dword [esp + 0x1c], edx
movzx edx, byte [esi + 1]
setne cl
mov byte [esp + 0x18], cl
movzx ecx, byte [esi]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 2]
mov byte [esp + 0x2d], dl
movzx edx, byte [esi + 4]
mov byte [esp + 0x2c], cl
movzx ecx, byte [esi + 3]
mov byte [esp + 0x2e], al
movzx eax, byte [esi + 5]
mov byte [esp + 0x30], dl
movzx edx, byte [esi + 7]
push 0
mov byte [esp + 0x33], cl
movzx ecx, byte [esi + 6]
mov byte [esp + 0x35], al
movzx eax, byte [esi + 8]
mov byte [esp + 0x37], dl
lea edx, [esp + 0x10]
push edx
push 0x50
mov byte [esp + 0x3e], cl
movzx ecx, byte [esi + 9]
mov byte [esp + 0x40], al
lea eax, [esp + 0x1c]
push eax
push 0x50
mov byte [esp + 0x49], cl
mov ecx, eax
push ecx
push 0x4d014
push edi
mov word [esp + 0x30], 0x2c
mov byte [esp + 0x36], 0xa
mov byte [esp + 0x37], 0x18
mov dword [esp + 0x40], 0x14
mov dword [esp + 0x48], 0x30
call dword [0x10018080]
test eax, eax
je 0x49c7ca
cmp byte [esp + 0x12], 0
jne 0x49c7ca
mov edx, dword [esp + 0x1c]
pop edi
mov dword [esi + 0x18], edx
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0049f2d1
add esp, 0x58
ret 4
cmp dword [0x1001f62c], 0
je 0x49c7ca
cmp edi, 0x10000
jb 0x49c7ca
push 0
push 0
push 0
push 0
call dword [0x10018070]
mov edi, eax
test edi, edi
je 0x49c7ca
push 0x50
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004a0630
cmp byte [esi + 0x10], 0
movzx ecx, byte [ebp]
mov eax, dword [esi + 0x18]
sete dl
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 1]
mov byte [esp + 0x1e], cl
mov ecx, dword [esi + 0x14]
lea edx, [edx*8 + 0x48]
mov byte [esp + 0x1f], dl
movzx edx, byte [esi]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [esi + 2]
mov byte [esp + 0x4c], dl
movzx edx, byte [esi + 3]
mov byte [esp + 0x4d], al
movzx eax, byte [esi + 4]
mov byte [esp + 0x4e], cl
movzx ecx, byte [esi + 5]
mov byte [esp + 0x4f], dl
movzx edx, byte [esi + 6]
mov byte [esp + 0x50], al
movzx eax, byte [esi + 7]
mov byte [esp + 0x51], cl
movzx ecx, byte [esi + 8]
mov byte [esp + 0x52], dl
movzx edx, byte [esi + 9]
mov byte [esp + 0x53], al
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x20], 2
mov byte [esp + 0x28], 0
mov byte [esp + 0x29], 0
mov byte [esp + 0x34], 0xe
mov byte [esp + 0x35], 0xa
mov dword [esp + 0x38], edi
mov byte [esp + 0x58], cl
mov byte [esp + 0x59], dl
call dword [0x1001f62c]
add esp, 0x10
cmp byte [esp + 0x11], 0
jne 0x49c7e0
push 0x2bf20
push edi
call dword [0x10018078]
test eax, eax
je 0x49c7e0
push edi
call dword [0x10018064]
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0049f2d1
add esp, 0x58
ret 4
push edi
call dword [0x10018064]
mov eax, 1
cmp byte [esp + 0x11], al
jne 0x49c7ca
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0049f2d1
add esp, 0x58
ret 4