Function at 0x5219d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
push 0x40000
mov esi, ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
call fcn.005398b8
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x52211e
cmp dword [esi + 0x6486a8], 2
jne 0x521a59
cmp dword [esp + 0x40], 0xfffffffe
jne 0x521a59
cmp dword [esp + 0x44], 0xffffffff
jne 0x521a59
mov eax, dword [esi + 0x6496f8]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x55770c]
lea ecx, [esi + 0x6496f8]
call edi
mov dword [esp + 0x24], eax
xor ecx, ecx
mov dword [esp + 0x28], edx
mov byte [esp + ecx + 0x30], 0
inc ecx
cmp ecx, 4
jb 0x521a46
mov dword [esp + 0x20], 1
mov al, byte [esp + 0x33]
xor edi, edi
mov byte [esp + 0x12], al
xor ebp, ebp
mov al, byte [esp + 0x32]
mov byte [esp + 0x11], al
mov al, byte [esp + 0x31]
mov dword [esi + 0x64b77c], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebp
mov byte [esp + 0x10], al
jmp 0x521a90
cmp dword [esp + 0x20], 0
je 0x522208
jmp 0x521aa0
call fcn.004c12f0
cmp byte [0x5d3824], 0
je 0x521abb
call fcn.004c1300
test al, al
jne 0x5222cc
cmp dword [esp + 0x20], 0
jne 0x521af3
mov ecx, dword [esp + 0x40]
mov eax, ecx
and eax, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x521af3
mov eax, dword [esp + 0x44]
mov edx, ecx
sub edx, edi
sbb eax, ebp
test eax, eax
ja 0x521af3
jb 0x521ae9
cmp edx, 0x40000
jae 0x521af3
mov eax, ecx
sub eax, edi
mov dword [esp + 0x30], eax
jmp 0x521afb
mov dword [esp + 0x30], 0x40000
mov eax, dword [esi + 0x6496f8]
lea ebp, [esi + 0x6496f8]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x55770c]
mov ecx, ebp
call edi
mov ecx, dword [ebp]
push dword [esp + 0x30]
mov dword [esp + 0x38], eax
push ebx
mov edi, dword [ecx + 0xc]
mov ecx, edi
mov dword [esp + 0x34], edx
call dword [0x55770c]
mov ecx, ebp
call edi
mov ecx, eax
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x5222df
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
test ebx, ebx
je 0x521fed
cmp byte [edi], 0x50
mov dword [esi + 0x64b780], 0
mov dword [esi + 0x64b788], 0
mov dword [esi + 0x64b78c], 0
mov dword [esi + 0x64b790], 0
mov dword [esi + 0x64b794], 0
jne 0x521f5e
cmp byte [edi + 1], 0x4b
jne 0x521f5e
cmp byte [edi + 2], 7
jne 0x521f5e
cmp byte [edi + 3], 8
jne 0x521f5e
cmp dword [esi + 0x64b7a4], 0
mov dword [esi + 0x64b77c], 0
je 0x521dfa
cmp ecx, 0x18
jb 0x521fed
movzx ecx, byte [edi + 7]
movzx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
mov ebp, dword [esp + 0x14]
movzx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xf]
mov dword [esi + 0x64b780], ecx
cdq
mov ebx, eax
mov ecx, edx
movzx eax, byte [edi + 0xe]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 0xd]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 0xc]
shld ecx, ebx, 8
cdq
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 0xb]
cdq
mov ecx, eax
mov dword [esp + 0x30], ebx
movzx eax, byte [ebp + 0xa]
mov edi, edx
shld edi, ecx, 8
cdq
xor ebx, ebx
shl ecx, 8
or edi, edx
or ecx, eax
movzx eax, byte [ebp + 9]
shld edi, ecx, 8
cdq
shl ecx, 8
or edi, edx
or ecx, eax
shld edi, ecx, 8
shl ecx, 8
or ebx, ecx
mov ecx, dword [esp + 0x30]
or ecx, edi
mov edi, ebp
movzx eax, byte [edi + 8]
cdq
or ebx, eax
or ecx, edx
movzx eax, byte [edi + 0x17]
cdq
mov dword [esp + 0x30], ecx
mov ebp, eax
movzx eax, byte [edi + 0x16]
mov dword [esi + 0x64b78c], ecx
mov ecx, edx
shld ecx, ebp, 8
cdq
shl ebp, 8
or ecx, edx
or ebp, eax
mov dword [esp + 0x38], ebx
movzx eax, byte [edi + 0x15]
shld ecx, ebp, 8
cdq
shl ebp, 8
or ebp, eax
mov dword [esi + 0x64b788], ebx
or ecx, edx
movzx eax, byte [edi + 0x14]
xor ebx, ebx
shld ecx, ebp, 8
cdq
shl ebp, 8
or ebp, eax
movzx eax, byte [edi + 0x13]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0x12]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0x11]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
or ebp, edi
movzx eax, byte [eax + 0x10]
or ebx, ecx
mov ecx, dword [esp + 0x2c]
mov edi, dword [esi + 0x6496f8]
cdq
or ebx, eax
or ebp, edx
mov dword [esi + 0x64b790], ebx
mov edx, ecx
mov ebx, dword [esp + 0x34]
mov eax, ebx
sub eax, dword [esp + 0x24]
mov dword [esi + 0x64b794], ebp
lea ebp, [esi + 0x6496f8]
sbb edx, dword [esp + 0x28]
cmp eax, dword [esp + 0x38]
jne 0x521da8
cmp edx, dword [esp + 0x30]
jne 0x521da8
mov edi, dword [edi + 0x14]
mov ecx, edi
mov dword [esi + 0x64b77c], 1
mov dword [esp + 0x30], 0x18
call dword [0x55770c]
mov ecx, ebp
call edi
mov edi, dword [ebp]
add ebx, 0x18
mov edx, dword [esp + 0x2c]
push 0
adc edx, 0
mov edi, dword [edi + 0x10]
mov ecx, edi
push edx
push ebx
call dword [0x55770c]
mov ecx, ebp
call edi
mov eax, dword [ebp]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x55770c]
mov ecx, ebp
call edi
mov dword [esp + 0x24], eax
mov ecx, 0x18
mov dword [esp + 0x28], edx
jmp 0x521fe5
add ebx, 4
push 0
adc ecx, 0
push ecx
push ebx
mov edi, dword [edi + 0x10]
mov ecx, edi
call dword [0x55770c]
mov ecx, ebp
call edi
mov edi, dword [esp + 0x14]
mov ecx, esi
push 0
push 4
push 1
push edi
call fcn.00522300
cmp eax, 4
jne 0x522249
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
add edi, eax
mov ebx, dword [esp + 0x14]
adc ebp, 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebp
jmp 0x521aa0
cmp ecx, 0x10
jb 0x521fed
movzx ecx, byte [edi + 7]
movzx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xb]
cdq
mov ebx, eax
mov dword [esi + 0x64b780], ecx
movzx eax, byte [edi + 0xa]
mov ecx, edx
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 9]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 8]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
mov dword [esp + 0x38], ecx
movzx eax, byte [edi + 0xf]
cdq
mov dword [esi + 0x64b78c], ecx
mov edi, edx
mov ecx, eax
mov dword [esi + 0x64b788], ebx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0xe]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0xd]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0xc]
cdq
or ecx, eax
or edi, edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x64b790], ecx
mov ecx, dword [esp + 0x34]
mov eax, ecx
sub eax, dword [esp + 0x24]
mov dword [esi + 0x64b794], edi
mov edi, edx
sbb edi, dword [esp + 0x28]
cmp eax, ebx
jne 0x521f4c
cmp edi, dword [esp + 0x38]
jne 0x521f4c
mov edi, dword [ebp]
mov dword [esi + 0x64b77c], 1
mov edi, dword [edi + 0x14]
mov ecx, edi
call dword [0x55770c]
mov ecx, ebp
call edi
mov eax, dword [esp + 0x34]
mov edi, dword [ebp]
add eax, 0x10
mov edx, dword [esp + 0x2c]
push 0
adc edx, 0
mov dword [esp + 0x34], 0x10
mov edi, dword [edi + 0x10]
mov ecx, edi
push edx
push eax
call dword [0x55770c]
mov ecx, ebp
call edi
mov eax, dword [ebp]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x55770c]
mov ecx, ebp
call edi
mov dword [esp + 0x24], eax
mov ecx, 0x10
mov dword [esp + 0x28], edx
jmp 0x521fe5
mov edi, dword [ebp]
add ecx, 4
push 0
adc edx, 0
push edx
push ecx
jmp 0x521db2
xor ebx, ebx
test ecx, ecx
je 0x521fe9
mov dl, byte [esp + 0x12]
mov ah, byte [esp + 0x11]
mov al, byte [esp + 0x10]
mov dh, ah
mov byte [esp + 0x10], ah
mov ah, dl
mov byte [esp + 0x13], dl
mov dl, byte [ebx + edi]
mov byte [esp + 0x11], ah
mov byte [esp + 0x12], dl
cmp al, 0x50
jne 0x521f9e
cmp dh, 0x4b
jne 0x521f9e
cmp ah, 7
jne 0x521f9e
cmp dl, 8
je 0x521fa5
inc ebx
cmp ebx, ecx
jb 0x521f70
jmp 0x521fe9
mov edi, dword [ebp]
lea ecx, [ebx - 3]
xor eax, eax
add ecx, dword [esi + 0x64b838]
push 0
adc eax, dword [esi + 0x64b83c]
mov edi, dword [edi + 0x10]
push eax
push ecx
mov ecx, edi
call dword [0x55770c]
mov ecx, ebp
call edi
mov eax, dword [ebp]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x55770c]
mov ecx, ebp
call edi
lea ecx, [ebx - 3]
mov dword [esp + 0x30], ecx
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
cmp dword [esi + 0x64b77c], 0
jne 0x522026
push 0
push ecx
push 1
push edi
mov ecx, esi
call fcn.00522300
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jne 0x522249
mov edi, dword [esp + 0x1c]
add edi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], edi
adc ecx, 0
mov dword [esp + 0x18], ecx
jmp 0x52202e
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x64b77c], 0
jne 0x5222db
test ebx, ebx
jne 0x52223c
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
and eax, edx
cmp eax, 0xffffffff
je 0x522204
cmp ecx, edx
ja 0x522204
jb 0x52206a
cmp edi, dword [esp + 0x40]
jae 0x522204
mov eax, dword [ebp]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x55770c]
mov ecx, ebp
call edi
mov ecx, ebp
mov edi, eax
mov ebx, edx
call fcn.0048f7c0
cmp edi, eax
jne 0x522200
cmp ebx, edx
jne 0x522200
mov edx, dword [esi + 0x64b7e0]
mov eax, dword [esi + 0x64b7dc]
inc edx
mov dword [esi + 0x64b7e0], edx
cmp edx, eax
jae 0x5222db
mov ecx, dword [esi + 0x64b7d0]
dec eax
cmp edx, eax
jne 0x52212d
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5220c0
sub ecx, edx
sar ecx, 1
lea ebx, [ecx*2 + 0xa]
push ebx
call fcn.005398b8
mov edi, eax
add esp, 4
test edi, edi
je 0x52211e
push ebx
push dword [esi + 0x64b7d0]
push edi
call fcn.004bdae0
push ebx
push 0x558930
push edi
call fcn.004a3820
push dword [esi + 0x64b7d0]
call fcn.0053867f
push edi
mov dword [esi + 0x64b7d0], edi
call fcn.00538fcb
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x522138
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x2c
ret 8
push edx
push ecx
mov ecx, esi
call fcn.00522960
mov ebx, eax
mov eax, dword [ebp]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x55770c]
mov ecx, ebp
call edi
mov eax, dword [ebp]
push 0
push ebx
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x55770c]
mov ecx, ebp
call edi
test al, al
jne 0x5221e1
cmp dword [esi + 0x6486a8], 1
jne 0x522179
cmp dword [esi + 0x64b778], 0
jne 0x522278
push dword [esi + 0x64b7e0]
mov ecx, esi
call fcn.00521410
cmp eax, 9
je 0x5222ba
cmp eax, 2
je 0x522299
cmp dword [esi + 0x6486a8], 2
jne 0x5221b0
cmp dword [esi + 0x64b778], 0
je 0x5221b0
inc dword [esi + 0x64b7e0]
push dword [esi + 0x64b7d0]
call fcn.00538fcb
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x52211e
mov eax, dword [ebp]
push 0
push ebx
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x55770c]
mov ecx, ebp
call edi
test al, al
je 0x522163
cmp dword [esi + 0x6486a8], 2
jne 0x5221f7
cmp dword [esi + 0x64b778], 0
jne 0x522278
push ebx
call fcn.0053867f
add esp, 4
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
and eax, ecx
mov ebx, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x521aa0
cmp ebp, ecx
ja 0x5222df
jb 0x521aa0
cmp edi, dword [esp + 0x40]
jae 0x5222df
jmp 0x521aa0
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
jmp 0x521a90
push edi
call fcn.0053867f
mov eax, dword [esi + 0x64b7b0]
add esp, 4
test eax, eax
je 0x522269
push eax
push 0
mov ecx, 0x5d381c
call fcn.00488950
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0x2c
ret 8
push ebx
call fcn.0053867f
push dword [esp + 0x18]
call fcn.0053867f
add esp, 8
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
push ebx
call fcn.0053867f
push dword [esp + 0x18]
call fcn.0053867f
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
push ebx
call fcn.0053867f
push dword [esp + 0x18]
call fcn.0053867f
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
add esp, 0x2c
ret 8
mov ebx, dword [esp + 0x14]
push ebx
call fcn.0053867f
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8