Function at 0x5523e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dee9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
mov eax, dword [0x644904]
mov ecx, dword [0x64581c]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [0x645800]
cmp eax, ecx
push esi
push edi
jne case.default.0x55242f
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx + 0x10]
add eax, 0xffffffca
cmp eax, 6
ja case.default.0x55242f
jmp dword [eax*4 + 0x552dd8]
mov edx, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
push 0x3a
call dword [edx]
mov esi, eax
mov al, byte [esi + 0x1f]
test al, al
jbe case.default.0x55242f
mov byte [esi + 0x1d], 0
mov ecx, dword [0x645ae0]
mov bl, byte [ecx + 0x43570]
lea eax, [esi + 6]
push eax
call fcn.00497ac0
lea ecx, [esi + 0x3a]
push ecx
mov ecx, dword [0x645ae0]
add ecx, 0x43554
call dword [fcn.005ea348]
mov dl, byte [esi + 0x5b]
mov eax, dword [0x645ae0]
lea ecx, [esi + 0x70]
push ecx
mov byte [eax + 0x43570], dl
mov ecx, dword [0x645ae0]
add ecx, 0x43574
call dword [fcn.005ea348]
mov edx, dword [esi + 0x5c]
mov eax, dword [0x645ae0]
lea ecx, [esi + 0x271]
push ecx
mov dword [eax + 0x43590], edx
mov ecx, dword [0x645ae0]
add ecx, 0x4351c
call dword [fcn.005ea348]
mov edx, dword [esi + 0x2d0]
mov eax, dword [0x645ae0]
mov dword [eax + 0x43594], edx
mov ecx, dword [esi + 0x2d4]
mov edx, dword [0x645ae0]
mov dword [edx + 0x43598], ecx
mov eax, dword [esi + 0x2dc]
mov ecx, dword [0x645ae0]
mov dword [ecx + 0x4359c], eax
call fcn.00491940
mov ecx, dword [0x646074]
mov edx, dword [ecx]
push 0x12ec061
push 0x137
call dword [edx + 0x50]
mov al, byte [esi + 0x5b]
cmp al, 8
je 0x552549
cmp al, 9
je 0x552549
cmp bl, 8
je 0x55252f
cmp bl, 9
jne case.default.0x55242f
mov ecx, dword [0x646074]
mov eax, dword [ecx]
push 0x609038
push 0x23a
call dword [eax + 0x4c]
jmp case.default.0x55242f
mov eax, dword [esi + 0x2dc]
test eax, eax
mov ecx, dword [0x646074]
jle 0x552535
mov edx, dword [ecx]
push 0x607580
push 0x23a
call dword [edx + 0x4c]
jmp case.default.0x55242f
lea ecx, [ebp - 0x100]
call fcn.004994d0
mov edx, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
xor edi, edi
push 0x36
mov dword [ebp - 4], edi
call dword [edx]
mov ecx, dword [0x645ae0]
mov ebx, eax
call fcn.004973c0
mov al, byte [ebx + 8]
test al, al
jbe 0x552669
lea esi, [ebx + 0x2c]
lea ecx, [ebp - 0x100]
call fcn.00494d90
movsx eax, word [esi - 0x20]
push esi
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x100], eax
call dword [fcn.005ea348]
lea ecx, [esi + 0x19]
push ecx
lea ecx, [ebp - 0xc4]
call dword [fcn.005ea348]
lea edx, [esi - 0x1e]
push edx
lea ecx, [ebp - 0xfc]
call dword [fcn.005ea348]
lea eax, [esi + 0x56]
push eax
lea ecx, [ebp - 0xa8]
call dword [fcn.005ea348]
lea ecx, [esi + 0x70]
push ecx
lea ecx, [ebp - 0x8c]
call dword [fcn.005ea348]
mov dl, byte [esi + 0x94]
mov byte [ebp - 0x6c], dl
mov al, byte [esi + 0x9c]
mov byte [ebp - 0x64], al
mov ecx, dword [esi + 0x98]
mov dword [ebp - 0x68], ecx
mov edx, dword [esi + 0xa0]
mov dword [ebp - 0x60], edx
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x5c], eax
mov ecx, dword [esi + 0xa8]
lea eax, [ebp - 0x100]
mov dword [ebp - 0x58], ecx
mov edx, dword [esi + 0xac]
mov ecx, dword [0x645ae0]
push eax
push edi
mov dword [ebp - 0x54], edx
call fcn.00499750
movzx ecx, byte [ebx + 8]
inc edi
add esi, 0xd0
cmp edi, ecx
jl 0x5525a2
movzx eax, word [ebx + 6]
mov edx, dword [0x645ae0]
mov dword [edx + 0x2c978], eax
movzx eax, byte [ebx + 8]
mov ecx, dword [0x645ae0]
mov dword [ecx + 0x2c97c], eax
mov ecx, dword [0x646074]
mov edx, dword [ecx]
push 0x142
call dword [edx + 0x54]
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], 0xffffffff
call fcn.004951b0
jmp case.default.0x55242f
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
push 0x3c
call dword [eax]
mov ecx, dword [0x645ae0]
mov edi, eax
call fcn.00497410
xor esi, esi
add edi, 4
lea esp, [esp]
sub esp, 0x1c
lea edx, [edi + 2]
mov ecx, esp
mov dword [ebp - 0x168], esp
push edx
call dword [fcn.005ea354]
movsx eax, word [edi]
mov ecx, dword [0x645ae0]
push eax
push esi
call fcn.004974d0
inc esi
add edi, 0x1c
cmp esi, 0x400
jl 0x5526d0
mov ecx, dword [0x646074]
mov edx, dword [ecx]
push 0x23b
call dword [edx + 0x54]
jmp case.default.0x55242f
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
push 0x37
call dword [eax]
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.00499460
mov al, byte [esi + 0x4400]
test al, al
mov dword [ebp - 4], 1
jne 0x5528a6
mov al, byte [esi + 0x4401]
test al, al
jne 0x5528a6
mov ecx, dword [0x645ae0]
call fcn.004976f0
cmp word [esi + 0x4386], 0
mov dword [ebp - 0x168], 0
jbe 0x5527fe
lea edi, [esi + 0x24]
lea ecx, [ebp - 0x50]
call fcn.00494d50
lea ecx, [edi - 0x20]
push ecx
lea ecx, [ebp - 0x50]
call dword [fcn.005ea348]
mov edx, dword [edi]
mov dword [ebp - 0x34], edx
mov al, byte [edi + 4]
mov byte [ebp - 0x30], al
mov cl, byte [edi + 5]
mov byte [ebp - 0x2f], cl
mov edx, dword [edi + 8]
mov dword [ebp - 0x2c], edx
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x28], eax
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x24], ecx
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x20], edx
mov al, byte [edi + 0x1c]
mov byte [ebp - 0x1c], al
mov cl, byte [edi + 0x1d]
mov byte [ebp - 0x1b], cl
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x168]
mov al, byte [edi + 0x1e]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [0x645ae0]
push edx
mov byte [ebp - 0x14], al
call fcn.00497880
mov eax, dword [ebp - 0x168]
movzx ecx, word [esi + 0x4386]
inc eax
add edi, 0x40
cmp eax, ecx
mov dword [ebp - 0x168], eax
jl 0x552773
movzx eax, word [esi + 0x4386]
mov edx, dword [0x645ae0]
mov dword [edx + 0x47924], eax
movzx eax, word [esi + 0x4388]
mov ecx, dword [0x645ae0]
mov dword [ecx + 0x47920], eax
mov ecx, dword [0x645ae0]
lea edx, [esi + 0x438a]
push edx
add ecx, 0x47928
call dword [fcn.005ea348]
mov ecx, dword [0x645ae0]
lea eax, [esi + 0x43c7]
push eax
add ecx, 0x47944
call dword [fcn.005ea348]
mov ecx, dword [0x645ae0]
add esi, 0x43e0
push esi
add ecx, 0x47960
call dword [fcn.005ea348]
mov ecx, dword [0x645ae0]
mov ebx, dword [ebx + 0x14]
mov dword [ecx + 0x2c980], ebx
mov ecx, dword [0x646074]
mov edx, dword [ecx]
push 0x21b
call dword [edx + 0x54]
mov ecx, dword [0x646074]
mov eax, dword [ecx]
push 0x21a
call dword [eax + 0x54]
lea ecx, [ebp - 0x50]
jmp 0x552dab
mov ecx, dword [0x645ae0]
call fcn.004975b0
cmp word [esi + 0x4386], 0
mov dword [ebp - 0x168], 0
jbe 0x55295b
lea edi, [esi + 0x24]
lea esp, [esp]
lea ecx, [ebp - 0x50]
call fcn.00494d50
lea ecx, [edi - 0x20]
push ecx
lea ecx, [ebp - 0x50]
call dword [fcn.005ea348]
mov edx, dword [edi]
mov dword [ebp - 0x34], edx
mov al, byte [edi + 4]
mov byte [ebp - 0x30], al
mov cl, byte [edi + 5]
mov byte [ebp - 0x2f], cl
mov edx, dword [edi + 8]
mov dword [ebp - 0x2c], edx
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x28], eax
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x24], ecx
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x20], edx
mov al, byte [edi + 0x1c]
mov byte [ebp - 0x1c], al
mov cl, byte [edi + 0x1d]
mov byte [ebp - 0x1b], cl
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x168]
mov al, byte [edi + 0x1e]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [0x645ae0]
push edx
mov byte [ebp - 0x14], al
call fcn.00499780
mov eax, dword [ebp - 0x168]
movzx ecx, word [esi + 0x4386]
inc eax
add edi, 0x40
cmp eax, ecx
mov dword [ebp - 0x168], eax
jl 0x5528d0
movzx eax, word [esi + 0x4386]
mov edx, dword [0x645ae0]
mov dword [edx + 0x43518], eax
movzx eax, word [esi + 0x4388]
mov ecx, dword [0x645ae0]
mov dword [ecx + 0x43514], eax
mov ecx, dword [0x645ae0]
lea edx, [esi + 0x438a]
push edx
add ecx, 0x4351c
call dword [fcn.005ea348]
mov ecx, dword [0x645ae0]
lea eax, [esi + 0x43c7]
push eax
call fcn.00497ac0
mov al, byte [esi + 0x4400]
mov ecx, dword [0x645ae0]
mov byte [ecx + 0x43570], al
mov al, byte [esi + 0x4401]
mov edx, dword [0x645ae0]
mov byte [edx + 0x43571], al
mov ebx, dword [ebx + 0x14]
mov eax, dword [0x645ae0]
mov dword [eax + 0x2c980], ebx
mov ecx, dword [0x646074]
mov edx, dword [ecx]
push 0x144
call dword [edx + 0x54]
lea ecx, [ebp - 0x50]
jmp 0x552dab
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
push 0x38
mov byte [ebp - 0x161], 0
call dword [eax]
lea ecx, [ebp - 0x128]
mov esi, eax
call fcn.004993e0
mov ecx, dword [0x645ae0]
mov dword [ebp - 4], 2
call fcn.004978b0
lea ecx, [esi + 4]
push ecx
lea ecx, [ebp - 0x128]
call dword [fcn.005ea348]
lea edx, [esi + 0x1d]
push edx
lea ecx, [ebp - 0xf0]
call dword [fcn.005ea348]
lea eax, [esi + 0x3b]
push eax
lea ecx, [ebp - 0xd4]
call dword [fcn.005ea348]
lea ecx, [esi + 0x59]
push ecx
lea ecx, [ebp - 0xb8]
call dword [fcn.005ea348]
lea edx, [esi + 0x73]
push edx
lea ecx, [ebp - 0x10c]
call dword [fcn.005ea348]
mov al, byte [esi + 0x93]
test al, al
mov byte [ebp - 0x9c], al
jns 0x552a95
and al, 0x7f
mov byte [ebp - 0x9c], al
mov byte [ebp - 0x161], 1
mov eax, dword [esi + 0x94]
mov dword [ebp - 0x98], eax
mov ecx, dword [esi + 0x98]
mov dword [ebp - 0x94], ecx
mov edx, dword [esi + 0x9c]
mov dword [ebp - 0x90], edx
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x8c], eax
mov ecx, dword [esi + 0xa4]
mov dword [ebp - 0x88], ecx
mov edx, dword [esi + 0xa8]
mov dword [ebp - 0x84], edx
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x80], eax
mov ecx, dword [esi + 0xb0]
mov dword [ebp - 0x7c], ecx
mov edx, dword [esi + 0xb4]
mov dword [ebp - 0x78], edx
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x74], eax
mov ecx, dword [esi + 0xbc]
mov dword [ebp - 0x70], ecx
mov edx, dword [esi + 0xc0]
mov dword [ebp - 0x6c], edx
mov eax, dword [esi + 0xcc]
mov dword [ebp - 0x68], eax
mov ecx, dword [esi + 0xc8]
mov dword [ebp - 0x64], ecx
mov edx, dword [esi + 0xc4]
mov dword [ebp - 0x60], edx
mov eax, dword [esi + 0xd8]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0xd0]
test eax, eax
jl 0x552bca
mov eax, dword [0x646494]
test eax, eax
jne 0x552b84
mov ecx, dword [0x645860]
mov edx, dword [ecx]
push 0xc8
call dword [edx + pe_nt_image_headers32]
test eax, eax
mov dword [0x646494], eax
jne 0x552b84
push 0x5efc14
push 0xf1
push 0x614414
call dword [fcn.005ea888]
mov eax, dword [0x646494]
add esp, 0xc
mov ecx, dword [esi + 0xd0]
mov dword [ebp - 0x16c], ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x16c]
push ecx
push 2
mov ecx, eax
call dword [edx + 8]
mov edi, eax
test edi, edi
jne 0x552bc2
mov dword [ebp - 0x5c], 0x15
mov edx, dword [esi + 0xd0]
push edx
push 0x6143fc
call dword [fcn.005ea898]
add esp, 8
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x5c], eax
jmp 0x552bd1
mov dword [ebp - 0x5c], 0x15
mov ecx, dword [esi + 0xd4]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x58], ecx
mov ecx, dword [0x645ae0]
push edx
call fcn.004997b0
mov eax, dword [0x645ae0]
mov ebx, dword [ebx + 0x14]
mov dword [eax + 0x2c980], ebx
mov al, byte [ebp - 0x161]
test al, al
mov ecx, dword [0x646074]
jne 0x552c2b
mov edx, dword [ecx]
push 0x146
call dword [edx + 0x54]
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
call fcn.00495230
jmp case.default.0x55242f
mov eax, dword [ecx]
push 0x217
call dword [eax + 0x54]
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
call fcn.00495230
jmp case.default.0x55242f
mov edx, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
push 0x39
call dword [edx]
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.00499380
mov ecx, dword [0x645ae0]
mov dword [ebp - 4], 3
call fcn.00497a60
mov eax, dword [ebx + 0x100]
xor esi, esi
test eax, eax
jle 0x552cc5
lea edi, [ebx + 4]
push 0x5eb0c0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 0xffffffff
call dword [fcn.005ea348]
movzx eax, byte [edi + 0x18]
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], eax
call dword [fcn.005ea348]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [0x645ae0]
push esi
call fcn.004997c0
mov eax, dword [ebx + 0x100]
inc esi
add edi, 0x19
cmp esi, eax
jl 0x552c81
mov ecx, dword [0x646074]
mov edx, dword [ecx]
push 0x147
call dword [edx + 0x54]
lea ecx, [ebp - 0x30]
jmp 0x552dab
push 0x5eb0c0
lea ecx, [ebp - 0x160]
call dword [fcn.005ea354]
mov eax, dword [ebx + 0xc]
add ebx, 0xc
push 0x3b
mov ecx, ebx
mov dword [ebp - 4], 4
call dword [eax]
mov esi, eax
test esi, esi
mov dword [ebp - 0x168], esi
je 0x552da5
mov ecx, dword [0x645ae0]
call fcn.00498990
mov eax, dword [esi + 0x284]
xor edi, edi
test eax, eax
jle 0x552d7b
add esi, 0x21
jmp 0x552d30
mov ebx, dword [esi - 0x1d]
push esi
lea ecx, [ebp - 0x144]
call dword [fcn.005ea354]
lea ecx, [ebp - 0x144]
push ecx
mov ecx, dword [0x645ae0]
push ebx
mov byte [ebp - 4], 5
call fcn.00498a80
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 4
call dword [fcn.005ea35c]
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 0x284]
inc edi
add esi, 0x40
cmp edi, eax
jl 0x552d30
mov eax, dword [0x645ae0]
cmp byte [eax + 0x43570], 9
mov ecx, dword [0x646074]
jne 0x552d9b
mov edx, dword [ecx]
push 0x21d
call dword [edx + 0x54]
jmp 0x552da5
mov eax, dword [ecx]
push 0x220
call dword [eax + 0x54]
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 0xffffffff
call dword [fcn.005ea35c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, 2
call fcn.005c8895
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret