Function at 0x5b38c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x4c
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 4]
mov byte [ecx + 4], al
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [ecx + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [ecx + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [ecx + 0x68], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x48], eax
movzx eax, byte [ecx + 5]
movzx edx, byte [esi + 5]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ecx + 5], al
movzx edx, byte [esi + 5]
and eax, 0xf
and edx, 0xfffffff0
or eax, edx
mov byte [ecx + 5], al
movzx eax, byte [ecx + 6]
movzx edx, byte [esi + 6]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ecx + 6], al
movzx eax, byte [ecx + 8]
movzx edx, byte [esi + 8]
and eax, 0xfffffffe
and edx, 1
or eax, edx
mov byte [ecx + 8], al
mov eax, dword [esi + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x4c]
mov dword [ecx + 0x50], eax
mov eax, dword [esi + 0x54]
test edx, edx
mov dword [ecx + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x58], eax
je 0x5b3a46
call fcn.004cb890
mov dword [esp], 0xc
mov ecx, eax
call fcn.004cba30
mov dword [eax], 0x6f1f98
mov edi, eax
sub esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [ebx + 0x4c], eax
mov edx, dword [esi + 0x4c]
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x5b3a46
mov dword [ebp - 0x40], edx
call fcn.004cb890
mov dword [esp], 0x10
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov dword [ebp - 0x3c], eax
call fcn.004cb890
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx], eax
mov dword [ecx + 0xc], 0
mov dword [edi + 4], ecx
mov eax, dword [edx + 4]
mov dword [esp], eax
call fcn.0062cfa0
sub esp, 4
mov edx, dword [esi + 0x50]
test edx, edx
je 0x5b3a8e
mov eax, dword [ebp + 0xc]
lea edi, [eax + 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5b3b28
mov ecx, edi
jmp 0x5b3a6b
mov ecx, eax
mov eax, dword [eax + 8]
test eax, eax
je 0x5b3a77
cmp edx, dword [eax + 0x10]
jbe 0x5b3a62
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5b3a6b
cmp edi, ecx
je 0x5b3b28
cmp edx, dword [ecx + 0x10]
jb 0x5b3b28
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x54]
test eax, eax
je 0x5b3ad9
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
call fcn.004cb890
mov dword [esp], 8
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov edi, eax
call fcn.004cb890
test edi, edi
mov dword [ebp - 0x2c], eax
je 0x5b3ad6
lea eax, [ebp - 0x2c]
mov ecx, edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.005f4b30
sub esp, 8
mov dword [ebx + 0x54], edi
mov eax, dword [esi + 0x58]
test eax, eax
je 0x5b3b1e
mov edi, dword [eax + 4]
call fcn.004cb890
mov dword [esp], 8
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov esi, eax
call fcn.004cb890
test esi, esi
mov dword [ebp - 0x2c], eax
je 0x5b3b1b
lea eax, [ebp - 0x2c]
mov ecx, esi
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.005f4b30
sub esp, 8
mov dword [ebx + 0x58], esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
call fcn.004cb890
mov dword [esp], 0x10
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov dword [ebp - 0x3c], eax
call fcn.004cb890
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xc], 0
mov dword [ebx + 0x50], ecx
mov edx, dword [eax + 0xc]
test edx, edx
je 0x5b3db0
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x3c], edi
jmp 0x5b3b8a
mov dword [ebp - 0x3c], edx
mov edx, dword [edx + 8]
test edx, edx
je 0x5b3b94
cmp dword [edx + 0x10], eax
jae 0x5b3b80
mov edx, dword [edx + 0xc]
jmp 0x5b3b86
mov edx, dword [ebp - 0x3c]
cmp edi, edx
je 0x5b3db0
cmp dword [edx + 0x10], eax
ja 0x5b3dad
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x50]
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
sub edx, eax
sar edx, 2
imul edx, edx, 0xcccccccd
test edx, edx
je 0x5b3a8e
xor edi, edi
mov dword [ebp - 0x3c], ebx
nop
lea ebx, [edi + edi*4]
lea edx, [ebx*4]
mov ecx, dword [eax + edx + 4]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + edx + 8]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + edx + 0xc]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + edx + 0x10]
mov dword [ebp - 0x1c], eax
call fcn.004cb890
mov dword [esp], 0x6c
mov ecx, eax
call fcn.004cba30
movzx edx, byte [eax + 0x64]
sub esp, 4
and byte [eax + 0x10], 0xc0
and byte [eax + 6], 0xf0
and byte [eax + 8], 0xfe
and edx, 0xfffffff8
or edx, 4
mov byte [eax + 0x64], dl
movzx edx, word [eax + 0x2a]
mov dword [eax], 0x6f2308
mov byte [eax + 4], 0
mov byte [eax + 5], 1
and dx, 0xf80f
or dx, 0x3f0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov byte [eax + 0x5c], 0
mov byte [eax + 0x5d], 0
and byte [eax + 0x60], 0x80
or byte [eax + 0x68], 0xf
and word [eax + 0x12], 0xfe3f
and word [eax + 0x10], 0xc03f
and byte [eax + 0x15], 0x80
and byte [eax + 0x18], 0x80
mov dword [eax + 0xc], 0
mov byte [eax + 0x14], 0
mov dword [eax + 0x1c], 0xffffffff
mov dword [eax + 0x20], 0xffffffff
mov word [eax + 0x2a], dx
movzx edx, byte [eax + 0x28]
movzx ecx, word [eax + 0x3e]
or byte [eax + 0x34], 0x7f
or dword [eax + 0x2c], 0x7fff8000
and edx, 0xfffffff8
or edx, 4
or cx, 0x1fe0
mov byte [eax + 0x28], dl
mov edx, dword [eax + 0x30]
mov word [eax + 0x3e], cx
shr cx, 8
or word [eax + 0x34], 0x780
or ecx, 0xffffffe0
or dword [eax + 0x38], 0x1ff80
or edx, 0x7f8000
mov dword [eax + 0x30], edx
shr edx, 0x18
or word [eax + 0x3c], 0x1ff8
or edx, 0xffffff80
and byte [eax + 0x43], 0x1f
and byte [eax + 0x44], 0xe0
and dword [eax + 0x10], 0xffc03fff
or word [eax + 0x24], 0xfff
mov byte [eax + 0x33], dl
mov byte [eax + 0x3f], cl
mov byte [eax + 0x40], 0xff
mov edx, dword [esi + 0x50]
mov byte [eax + 0x45], 0
mov ecx, dword [ebp + 0xc]
mov byte [eax + 0x46], 0
mov byte [eax + 0x47], 0
mov dword [eax + 0x48], 0xfffff800
mov dword [ebp - 0x2c], eax
mov edx, dword [edx + 4]
mov edx, dword [edx + ebx*4]
mov dword [esp + 4], ecx
mov ecx, eax
mov dword [esp], edx
call fcn.005b38c0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x50]
sub esp, 8
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
je 0x5b3d9d
test eax, eax
je 0x5b3d70
mov edx, dword [ebp - 0x2c]
mov dword [eax], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x10], edx
add eax, 0x14
mov dword [ecx + 8], eax
mov edx, dword [esi + 0x50]
add edi, 1
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
sub edx, eax
sar edx, 2
imul edx, edx, 0xcccccccd
cmp edi, edx
jb 0x5b3bd0
mov ebx, dword [ebp - 0x3c]
jmp 0x5b3a8e
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.0062e8a0
sub esp, 4
jmp 0x5b3d76
mov edi, dword [ebp - 0x3c]
lea eax, [esi + 0x50]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2d]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6c3d18
mov dword [esp], edi
call fcn.0063f710
mov ecx, dword [ebx + 0x50]
sub esp, 0x10
mov dword [ebp - 0x3c], eax
jmp 0x5b3bab