Function at 0x56a3c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov edi, dword [ebp + 8]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x9c], ecx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
test eax, eax
jne 0x56a770
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0xb0]
mov esi, edi
mov dword [ebp - 0xac], 0
add eax, 0x3dc
mov dword [ebp - 0xc0], eax
jmp 0x56a69c
mov eax, dword [esi]
mov ecx, esi
mov ebx, dword [ebp - 0xac]
mov eax, dword [eax + 0x9c]
mov dword [esp], ebx
call eax
mov edi, dword [eax + 4]
sub esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
movzx ecx, byte [eax + 4]
and ecx, 0x3f
sub ecx, 8
cmp ecx, 3
ja 0x56a61f
mov eax, 1
shl eax, cl
test al, 0xd
je 0x56a61f
mov eax, dword [ebp - 0xb0]
cmp dword [eax + 0x10], 4
je 0x56a7b0
mov eax, dword [esi]
mov ecx, esi
mov ebx, dword [ebp - 0xac]
mov eax, dword [eax + 0x9c]
mov dword [esp], ebx
call eax
mov ecx, dword [ebp - 0x9c]
mov eax, dword [eax]
sub esp, 4
mov eax, dword [eax + 4]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0054d620
mov ecx, edi
mov ebx, eax
mov eax, dword [edi]
sub esp, 8
call dword [eax + 0x2c]
and byte [eax + 0xc], 0x80
mov edx, eax
mov dword [eax + 0x10], 0xffffffff
mov dword [eax + 0x14], 0xffffffff
movzx eax, word [eax + 0x1e]
or dword [edx + 0x20], 0x7fff8000
or word [edx + 0x32], 0x1fe0
and ax, 0xf80f
or ax, 0x3f0
mov word [edx + 0x1e], ax
mov eax, dword [edx + 4]
mov byte [edx + 0x39], 0
test eax, 0x3fc000
jne 0x56a506
movzx ecx, word [edx + 4]
and eax, 0xffc03fff
shr cx, 6
movzx ecx, cl
shl ecx, 0xe
or eax, ecx
mov dword [edx + 4], eax
movzx eax, byte [edx + 0x1c]
mov ecx, edi
or byte [edx + 0x28], 0x7f
and word [edx + 4], 0xc03f
and byte [edx + 8], 3
and eax, 0xfffffff8
or eax, 4
mov byte [edx + 0x1c], al
mov eax, dword [edx + 0x24]
and byte [edx + 9], 0xfe
or word [edx + 0x28], 0x780
or dword [edx + 0x2c], 0x1ff80
or eax, 0x7f8000
mov dword [edx + 0x24], eax
shr eax, 0x18
or eax, 0xffffff80
or word [edx + 0x30], 0x1ff8
or word [edx + 0x18], 0xfff
mov byte [edx + 0x27], al
mov eax, dword [edi]
call dword [eax + 0x7c]
test al, al
jne 0x56a6c0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
mov ecx, dword [ebp - 0x9c]
mov dword [esp], eax
call fcn.0054c5d0
mov eax, dword [ebp - 0x9c]
sub esp, 4
cmp dword [eax + 0x10], 2
je 0x56a740
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
mov ecx, ebx
movzx edx, byte [eax + 4]
and edx, 0xffffffc0
or edx, 3
mov byte [eax + 4], dl
mov eax, dword [ebx]
call dword [eax + 0x34]
mov ecx, dword [ebp - 0x9c]
mov dword [esp], eax
call fcn.0054ed10
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x84], ebx
mov eax, dword [eax + 8]
sub esp, 4
cmp eax, dword [edx + 0xc]
je 0x56aa80
test eax, eax
je 0x56a947
mov dword [eax], ebx
mov eax, dword [edx + 8]
mov ebx, dword [ebp + 0x10]
add eax, 4
mov dword [ebx + 8], eax
mov eax, dword [esi]
mov ecx, esi
mov ebx, dword [ebp - 0xac]
mov eax, dword [eax + 0x9c]
mov dword [esp], ebx
call eax
mov ecx, dword [eax + 4]
sub esp, 4
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [eax + 4]
shr eax, 0xe
cmp al, 0x52
je 0x56a727
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
movzx eax, byte [eax + 4]
and eax, 0x3f
sub eax, 9
cmp eax, 1
ja 0x56a695
mov eax, dword [esi]
mov ecx, esi
mov ebx, dword [ebp - 0xac]
mov eax, dword [eax + 0x9c]
mov dword [esp], ebx
call eax
lea ecx, [ebp - 0x9c]
mov eax, dword [eax]
sub esp, 4
mov eax, dword [eax + 4]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0054f250
mov edi, dword [ebp + 0x14]
mov edx, dword [edi + 8]
sub esp, 8
cmp edx, dword [edi + 0xc]
mov dword [ebp - 0x84], eax
je 0x56aa60
test edx, edx
je 0x56a940
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov edi, dword [ebp + 0x14]
add eax, 4
mov dword [edi + 8], eax
add dword [ebp - 0xac], 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x90]
cmp dword [ebp - 0xac], eax
jl 0x56a420
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x9c]
lea ecx, [eax + 0x3dc]
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.0063f5b0
mov edx, dword [ebp - 0x9c]
add edx, 0x3e4
sub esp, 4
cmp eax, edx
je 0x56a561
mov edx, dword [eax + 0x14]
test edx, edx
je 0x56a561
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0xb4], edx
call dword [eax + 0x34]
mov edx, dword [ebp - 0xb4]
mov dword [eax + 0x50], edx
jmp 0x56a561
mov eax, dword [ebp - 0x84]
mov ebx, dword [ebp - 0xb0]
mov dword [ebx + 0x46c], eax
jmp 0x56a61f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x6c]
test al, al
jne 0x56a590
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
or byte [eax + 8], 0x80
jmp 0x56a590
mov eax, dword [ebp - 0xb0]
mov ecx, edi
cmp dword [eax + 0x10], 1
mov eax, dword [edi]
je 0x56a950
call dword [eax + 0x34]
mov dword [esp + 4], eax
mov dword [esp], str._entryPointOutput
lea ecx, [ebp - 0x9c]
call fcn.0054f250
mov esi, dword [ebp + 0xc]
sub esp, 8
mov dword [esi], eax
jmp 0x56a3fa
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x98]
mov dword [esp], 4
call eax
sub esp, 4
test al, al
je 0x56ada7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x7c]
test al, al
je 0x56a910
mov eax, dword [edi + 0x50]
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.0063f5b0
mov ebx, dword [ebp - 0xb0]
add ebx, 0x3e4
mov dword [ebp - 0xc8], ebx
sub esp, 4
cmp eax, ebx
mov dword [ebp - 0xc4], eax
je 0x56aa98
mov eax, dword [eax + 0x14]
test eax, eax
mov dword [ebp - 0xb8], eax
je 0x56aa98
mov ebx, dword [eax + 4]
cmp ebx, dword [eax + 8]
je 0x56a474
mov dword [ebp - 0xb4], edi
mov edi, eax
mov dword [ebp + 8], esi
jmp 0x56a869
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x2c]
and byte [eax + 8], 0x83
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x2c]
or byte [eax + 8], 0x10
add ebx, 0x14
cmp ebx, dword [edi + 8]
je 0x56a930
mov esi, dword [ebx]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x98]
mov dword [esp], 4
call eax
sub esp, 4
test al, al
jne 0x56a847
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x98]
mov dword [esp], 5
call eax
sub esp, 4
test al, al
jne 0x56a847
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x98]
mov dword [esp], 6
call eax
sub esp, 4
test al, al
jne 0x56a847
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x98]
mov dword [esp], 7
call eax
sub esp, 4
test al, al
jne 0x56a847
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x98]
mov dword [esp], 0xa
call eax
sub esp, 4
test al, al
jne 0x56a847
mov eax, esi
call fcn.00546cd0
test al, al
je 0x56a85d
jmp 0x56a847
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, edi
and byte [eax + 8], 0x83
mov eax, dword [edi]
call dword [eax + 0x2c]
or byte [eax + 8], 0x10
jmp 0x56a474
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp + 8]
jmp 0x56a474
xor eax, eax
jmp 0x56a68c
xor eax, eax
jmp 0x56a5e8
call dword [eax + 0x34]
lea ecx, [ebp - 0x9c]
mov dword [esp], str._entryPointOutput
lea ebx, [ebp - 0x84]
mov dword [esp + 4], eax
call fcn.0054f250
mov esi, dword [ebp + 0xc]
mov ecx, ebx
sub esp, 8
mov dword [esi], eax
call fcn.00547320
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ecx, ebx
mov dword [esp], eax
call fcn.005b31c0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x90], 0x6f1f98
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 1
mov eax, dword [eax + 0x28]
sub esp, 4
mov edx, dword [eax + 0x1b4]
mov dword [ebp - 0xac], edx
call fcn.004cb890
mov dword [esp], 0x10
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov esi, eax
call fcn.004cb890
mov edx, dword [ebp - 0xac]
mov ecx, esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi], eax
lea eax, [ebp - 0x98]
mov dword [esp], eax
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x94], 0
call fcn.0062cec0
lea edx, [ebp - 0x90]
lea eax, [ebp - 0x38]
sub esp, 4
call fcn.00547590
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
mov ecx, dword [ebp - 0xb0]
mov dword [esp], eax
call fcn.0054c900
sub esp, 4
mov dword [esp + 4], ebx
jmp 0x56a78b
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.00635430
sub esp, 4
jmp 0x56a695
lea eax, [ebp - 0x84]
mov ecx, edx
mov dword [esp], eax
call fcn.00635430
sub esp, 4
jmp 0x56a5f1
call fcn.004cb890
mov dword [esp], 0x10
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov ebx, eax
mov dword [ebp - 0xb8], eax
call fcn.004cb890
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], eax
mov eax, dword [edi + 0x50]
mov ebx, dword [eax + 4]
cmp ebx, dword [eax + 8]
je 0x56ad7f
mov dword [ebp - 0xbc], edi
mov dword [ebp + 8], esi
lea esi, [esi]
call fcn.004cb890
mov dword [esp], 0x6c
mov ecx, eax
call fcn.004cba30
movzx esi, byte [eax + 6]
sub esp, 4
mov byte [eax + 5], 1
and byte [eax + 0x10], 0xc0
and byte [eax + 0x60], 0x80
and esi, 0xfffffff0
mov edx, esi
mov byte [eax + 6], dl
movzx edx, byte [eax + 8]
or byte [eax + 0x68], 0xf
mov dword [eax], 0x6f2308
mov byte [ebp - 0xb4], dl
and byte [ebp - 0xb4], 0xfe
movzx edx, byte [ebp - 0xb4]
mov byte [eax + 4], 0
and word [eax + 0x12], 0xfe3f
and word [eax + 0x10], 0xc03f
and byte [eax + 0x15], 0x80
mov byte [eax + 8], dl
movzx edx, byte [eax + 0x64]
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
and edx, 0xfffffff8
or edx, 4
mov byte [eax + 0x64], dl
mov dword [eax + 0x58], 0
mov byte [eax + 0x5c], 0
mov byte [eax + 0x5d], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x14], 0
and byte [eax + 0x18], 0x80
movzx edx, word [eax + 0x2a]
movzx ecx, word [eax + 0x3e]
or byte [eax + 0x34], 0x7f
or dword [eax + 0x2c], 0x7fff8000
and dx, 0xf80f
or dx, 0x3f0
or cx, 0x1fe0
mov word [eax + 0x2a], dx
movzx edx, byte [eax + 0x28]
mov word [eax + 0x3e], cx
shr cx, 8
or ecx, 0xffffffe0
or word [eax + 0x24], 0xfff
and edx, 0xfffffff8
or edx, 4
mov byte [eax + 0x28], dl
mov edx, dword [eax + 0x30]
or word [eax + 0x34], 0x780
or dword [eax + 0x38], 0x1ff80
or word [eax + 0x3c], 0x1ff8
or edx, 0x7f8000
mov dword [eax + 0x30], edx
shr edx, 0x18
or edx, 0xffffff80
mov byte [eax + 0x33], dl
mov byte [eax + 0x3f], cl
and byte [eax + 0x43], 0x1f
and byte [eax + 0x44], 0xe0
mov dword [eax + 0x1c], 0xffffffff
mov dword [eax + 0x20], 0xffffffff
mov byte [eax + 0x45], 0
mov byte [eax + 0x46], 0
mov byte [eax + 0x47], 0
mov dword [eax + 0x48], 0xfffff800
mov byte [eax + 0x40], 0xff
and dword [eax + 0x10], 0xffc03fff
mov edx, dword [ebx]
movzx ecx, byte [edx + 4]
mov byte [eax + 4], cl
mov ecx, dword [edx + 0x5c]
mov dword [eax + 0x5c], ecx
mov ecx, dword [edx + 0x60]
mov dword [eax + 0x60], ecx
mov ecx, dword [edx + 0x64]
mov dword [eax + 0x64], ecx
mov ecx, dword [edx + 0x68]
mov dword [eax + 0x68], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 0x14], ecx
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x20], ecx
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x24], ecx
mov ecx, dword [edx + 0x28]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edx + 0x30]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 0x34], ecx
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x38], ecx
mov ecx, dword [edx + 0x3c]
mov dword [eax + 0x3c], ecx
mov ecx, dword [edx + 0x40]
mov dword [eax + 0x40], ecx
mov ecx, dword [edx + 0x44]
mov dword [eax + 0x44], ecx
mov ecx, dword [edx + 0x48]
mov dword [eax + 0x48], ecx
movzx edi, byte [edx + 5]
and edi, 0xf
mov ecx, edi
mov byte [eax + 5], cl
movzx ecx, byte [edx + 5]
and ecx, 0xfffffff0
or ecx, edi
mov byte [eax + 5], cl
movzx ecx, byte [edx + 6]
and ecx, 0xf
or ecx, esi
mov byte [eax + 6], cl
movzx ecx, byte [edx + 8]
and ecx, 1
or cl, byte [ebp - 0xb4]
mov byte [eax + 8], cl
mov ecx, dword [edx + 0x4c]
mov dword [eax + 0x4c], ecx
mov ecx, dword [edx + 0x50]
mov dword [eax + 0x50], ecx
mov ecx, dword [edx + 0x54]
mov edx, dword [edx + 0x58]
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], edx
mov dword [ebp - 0x84], eax
mov edx, dword [ebx + 4]
mov dword [ebp - 0x80], edx
mov edx, dword [ebx + 8]
mov dword [ebp - 0x7c], edx
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x78], edx
mov edx, dword [ebx + 0x10]
mov esi, dword [ebp - 0xb8]
mov dword [ebp - 0x74], edx
mov edx, dword [esi + 8]
cmp edx, dword [esi + 0xc]
je 0x56ae35
test edx, edx
je 0x56ad55
mov dword [edx], eax
mov eax, dword [ebp - 0x80]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x7c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x78]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x74]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0xb8]
add edx, 0x14
mov dword [eax + 8], edx
mov eax, dword [ebp - 0xbc]
add ebx, 0x14
mov eax, dword [eax + 0x50]
cmp ebx, dword [eax + 8]
jne 0x56aaf0
mov edi, dword [ebp - 0xbc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0xc8]
cmp dword [ebp - 0xc4], ebx
je 0x56ae4d
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xb8]
mov dword [eax + 0x14], ebx
mov eax, ebx
jmp 0x56a82e
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x98]
mov dword [esp], 5
call eax
sub esp, 4
test al, al
jne 0x56a7ce
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x98]
mov dword [esp], 6
call eax
sub esp, 4
test al, al
jne 0x56a7ce
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x98]
mov dword [esp], 7
call eax
sub esp, 4
test al, al
jne 0x56a7ce
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x98]
mov dword [esp], 0xa
call eax
sub esp, 4
test al, al
jne 0x56a7ce
mov eax, edi
call fcn.00546cd0
test al, al
je 0x56a474
nop
jmp 0x56a7ce
lea eax, [ebp - 0x84]
mov ecx, esi
mov dword [esp], eax
call fcn.0062e8a0
sub esp, 4
jmp 0x56ad61
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.00628220
mov ebx, dword [ebp - 0xb8]
mov dword [eax + 4], 0
sub esp, 4
mov dword [eax], ebx
mov dword [eax + 8], 0
mov eax, ebx
jmp 0x56a82e