Function at 0x500060
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xfc], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edi, eax
mov eax, esi
test edi, edi
je 0x500490
mov ecx, dword [edi + 0x80]
test ecx, ecx
jne 0x500490
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
test al, al
je 0x5004a0
movzx eax, byte [ebx + 4]
mov ecx, ebx
mov dword [ebp - 0xf0], 0x6f2308
mov byte [ebp - 0xec], al
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0xa8], eax
movzx eax, byte [ebx + 5]
mov byte [ebp - 0xeb], al
movzx eax, byte [ebp - 0xea]
movzx edx, byte [ebx + 6]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebp - 0xea], al
movzx eax, byte [ebp - 0xe8]
movzx edx, byte [ebx + 8]
and eax, 0xfffffffe
and edx, 1
or eax, edx
mov byte [ebp - 0xe8], al
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x98], eax
mov eax, dword [ebx]
call dword [eax + 0x54]
mov esi, eax
call fcn.004cb890
mov dword [esp], 0xc
mov ecx, eax
call fcn.004cba30
mov dword [eax], 0x6f1f98
mov ebx, eax
sub esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [ebp - 0xa4], eax
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
test edx, edx
mov dword [ebx + 8], eax
je 0x500815
mov eax, dword [ebx + 4]
test eax, eax
mov dword [ebp - 0x100], eax
je 0x5008b0
cmp edx, eax
je 0x500292
mov ecx, dword [eax + 4]
mov esi, dword [edx + 8]
mov ebx, dword [edx + 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x108], esi
sub esi, ebx
sub eax, ecx
sar esi, 3
sar eax, 3
cmp esi, eax
ja 0x500828
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10c], eax
sub eax, dword [ebp - 0x104]
sar eax, 3
cmp esi, eax
ja 0x5006b8
test esi, esi
jne 0x5007ec
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x100]
mov dword [eax + 8], ecx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xac]
mov edx, dword [ebp - 0xa4]
mov edx, dword [edx + 4]
mov ecx, dword [edx + 4]
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
mov eax, dword [edi]
sar edx, 2
mov dword [ecx], edx
mov ecx, edi
call dword [eax + 0xac]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x5003c0
mov eax, dword [eax + 4]
test eax, eax
je 0x5003c0
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
cmp edx, 0xf
jle 0x5003c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x6c]
test al, al
je 0x5003c0
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 4]
test eax, eax
je 0x500821
mov ebx, dword [eax + 8]
sub ebx, dword [eax + 4]
sar ebx, 3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x54]
mov edx, dword [eax + 4]
test edx, edx
je 0x5009aa
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sar eax, 3
add eax, 1
cmp ebx, eax
jne 0x5003c0
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 4]
test eax, eax
je 0x5003c0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sub edx, ecx
cmp edx, 0xf
jle 0x5003c0
mov ebx, 1
mov dword [ebp - 0x100], edi
jmp 0x500383
mov ecx, dword [eax + 4]
add ebx, 1
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 3
cmp ebx, edx
jge 0x5003ba
mov edx, dword [ecx + ebx*8]
lea edi, [ebx*8]
test edx, edx
jne 0x500371
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov ecx, eax
mov eax, dword [eax]
call dword [eax + 0x54]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax + edi - 8]
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 4]
mov edx, dword [eax + 4]
mov dword [edx + ebx*8], ecx
jmp 0x500371
mov edi, dword [ebp - 0x100]
lea eax, [ebp - 0x84]
xor ebx, ebx
lea esi, [ebp - 0xf0]
mov ecx, eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [ebp - 0x100], eax
call fcn.005b43c0
sub esp, 0xc
jmp 0x500457
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xac]
mov ecx, edi
mov eax, dword [eax + 4]
lea esi, [eax + ebx*4]
mov eax, dword [edi]
call dword [eax + 0xac]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xfc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x100]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00500060
mov ecx, edi
mov dword [esi], eax
mov eax, dword [edi]
sub esp, 0xc
call dword [eax + 0xac]
mov eax, dword [eax + 4]
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x50059d
add ebx, 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xac]
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
sar edx, 2
cmp ebx, edx
jb 0x5003f3
lea eax, [ebp - 0xf0]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xfc]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004ff830
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
test al, al
je 0x5005d8
mov eax, dword [ebx + 0x50]
mov ecx, edi
mov esi, dword [eax + 8]
sub esi, dword [eax + 4]
mov eax, dword [edi]
sar esi, 2
imul esi, esi, 0xcccccccd
call dword [eax + 0xac]
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
sar edx, 2
cmp esi, edx
jne 0x500933
mov edx, dword [ebx + 0x50]
xor esi, esi
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sar eax, 2
imul eax, eax, 0xcccccccd
test eax, eax
je 0x5005b3
mov dword [ebp + 0xc], ebx
jmp 0x500520
mov eax, dword [ebp + 0xc]
add esi, 1
mov ecx, dword [eax + 0x50]
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 4]
sar eax, 2
imul eax, eax, 0xcccccccd
cmp esi, eax
jae 0x5005b0
mov eax, dword [edi]
mov ecx, edi
lea ebx, [esi*4]
call dword [eax + 0xac]
mov ecx, edi
mov edx, dword [eax + 4]
mov eax, dword [edi]
add edx, ebx
add ebx, esi
mov dword [ebp - 0x100], edx
call dword [eax + 0xac]
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x50]
mov edx, dword [ecx + 4]
lea ebx, [edx + ebx*4]
mov ecx, dword [ebx]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0xfc]
mov dword [esp], eax
call fcn.00500060
mov edx, dword [ebp - 0x100]
mov ecx, edi
mov dword [edx], eax
mov eax, dword [edi]
sub esp, 0xc
call dword [eax + 0xac]
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi*4]
test ecx, ecx
jne 0x500500
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xac]
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
sar edx, 2
cmp edx, 1
je 0x50089c
mov dword [esp + 8], ebx
jmp 0x500478
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
mov ecx, ebx
test al, al
mov eax, dword [ebx]
je 0x500722
call dword [eax + 0x38]
mov ecx, edi
mov esi, eax
mov eax, dword [edi]
call dword [eax + 0xac]
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
sar edx, 2
cmp esi, edx
jne 0x5008fb
lea eax, [ebp - 0x84]
xor esi, esi
mov dword [esp + 8], 0
mov ecx, eax
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [ebp - 0x100], eax
call fcn.005b43c0
sub esp, 0xc
jmp 0x5006a8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xac]
mov ecx, edi
mov eax, dword [eax + 4]
lea edx, [eax + esi*4]
mov eax, dword [edi]
mov dword [ebp - 0x104], edx
call dword [eax + 0xac]
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xfc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x100]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00500060
mov edx, dword [ebp - 0x104]
mov ecx, edi
mov dword [edx], eax
mov eax, dword [edi]
sub esp, 0xc
call dword [eax + 0xac]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x50059d
add esi, 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x38]
cmp esi, eax
jl 0x500638
jmp 0x5005b3
test eax, eax
lea ecx, [ebx + eax*8]
lea esi, [esi]
jne 0x50079f
mov eax, ecx
mov ebx, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
cmp ecx, eax
je 0x500714
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x108], esi
lea esi, [esi]
test edx, edx
je 0x5006fe
mov ebx, dword [eax]
mov esi, dword [eax + 4]
mov dword [edx], ebx
mov dword [edx + 4], esi
add eax, 8
add edx, 8
cmp eax, ecx
jne 0x5006f0
mov ebx, dword [ebp - 0x104]
mov esi, dword [ebp - 0x108]
lea ecx, [ebx + esi*8]
mov eax, dword [ebp - 0x100]
jmp 0x50028f
call dword [eax + 0x64]
test al, al
je 0x500972
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov ecx, edi
mov esi, eax
mov eax, dword [edi]
call dword [eax + 0xac]
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
sar edx, 2
cmp esi, edx
je 0x5005b3
mov edi, dword [ebp - 0xfc]
lea ecx, [ebp - 0x84]
mov eax, dword [edi]
mov esi, dword [eax + 0x70]
mov dword [esp], ebx
call fcn.005ce650
mov eax, dword [ebp - 0x80]
sub esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6ca572
mov dword [esp + 8], 0x6ca5c8
mov eax, dword [ebp + 8]
mov dword [esp], edi
mov dword [esp + 4], eax
call esi
mov eax, dword [ebp - 0x80]
lock sub dword [eax - 4], 1
xor eax, eax
jmp 0x50059f
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x104]
mov dword [esp + 4], ebx
mov dword [ebp - 0x108], edx
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov ebx, dword [ebp - 0x100]
mov edx, dword [ebp - 0x108]
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 4]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x104], eax
sub eax, ebx
and eax, 0xfffffff8
add eax, dword [edx + 4]
mov edx, dword [ebp - 0x104]
jmp 0x5006da
mov eax, dword [ebp - 0x104]
shl esi, 3
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov eax, dword [ebp - 0x100]
add esi, dword [eax + 4]
mov ecx, esi
jmp 0x50028f
mov dword [ebx + 4], 0
jmp 0x500292
xor ebx, ebx
jmp 0x500321
test esi, esi
je 0x500969
mov eax, dword [ebp - 0x100]
shl esi, 3
mov ecx, dword [eax]
mov dword [esp], esi
call fcn.004cba30
sub esp, 4
cmp ebx, dword [ebp - 0x108]
mov edx, eax
je 0x500886
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x108], esi
test edx, edx
je 0x500870
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
mov dword [edx], esi
mov dword [edx + 4], edi
add ebx, 8
add edx, 8
cmp ecx, ebx
jne 0x500862
mov edi, dword [ebp - 0x104]
mov esi, dword [ebp - 0x108]
mov edx, dword [ebp - 0x100]
lea ecx, [eax + esi]
mov dword [edx + 4], eax
mov eax, edx
mov dword [edx + 0xc], ecx
jmp 0x50028f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xac]
mov eax, dword [eax + 4]
mov edi, dword [eax]
jmp 0x5005cf
call fcn.004cb890
mov dword [esp], 0x10
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov dword [ebp - 0x100], eax
call fcn.004cb890
mov ecx, dword [ebp - 0x100]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx], eax
mov eax, ecx
mov dword [ecx + 0xc], 0
mov dword [ebx + 4], ecx
mov edx, dword [esi + 4]
jmp 0x50022d
mov edi, dword [ebp - 0xfc]
lea ecx, [ebp - 0x84]
mov eax, dword [edi]
mov esi, dword [eax + 0x70]
mov dword [esp], ebx
call fcn.005ce650
mov eax, dword [ebp - 0x80]
sub esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6ca572
mov dword [esp + 8], 0x6ca5a8
jmp 0x500784
mov esi, dword [ebp - 0xfc]
mov edx, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x70]
mov dword [esp + 0x10], 0x6c5660
mov dword [esp + 0xc], 0x6ca572
mov dword [esp + 8], 0x6ca584
mov dword [esp + 4], edx
mov dword [esp], esi
call eax
xor eax, eax
jmp 0x500490
xor esi, esi
xor eax, eax
jmp 0x500846
mov edi, dword [ebp - 0xfc]
lea ecx, [ebp - 0x84]
mov eax, dword [edi]
mov esi, dword [eax + 0x70]
mov dword [esp], ebx
call fcn.005ce650
mov eax, dword [ebp - 0x80]
sub esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6ca572
mov dword [esp + 8], 0x6ca5f8
jmp 0x500784
mov eax, 1
jmp 0x500346