Function at 0x502ad0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x2f00
call fcn.00583880
mov al, byte [0x4a14e1]
or al, byte [0x4a14e0]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x2c], al
jne 0x502b06
push 0
push 0
call fcn.00503630
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f00
ret
mov ebp, dword [0x4a14d8]
xor esi, esi
cmp ebp, esi
jne 0x502c77
push 0x12000
call fcn.00573159
add esp, 4
mov dword [0x4a14d8], eax
cmp eax, esi
je 0x502c67
push 0x24000
call fcn.00573159
add esp, 4
mov dword [0x4a14dc], eax
cmp eax, esi
je 0x502c67
push 0x20000
call fcn.00573159
add esp, 4
mov dword [0x4a14cc], eax
cmp eax, esi
je 0x502c67
push 0x40000
call fcn.00573159
add esp, 4
mov dword [0x4a14d0], eax
cmp eax, esi
je 0x502c67
push 0x7d0
call fcn.00573159
add esp, 4
mov dword [0x4a14d4], eax
cmp eax, esi
je 0x502c67
mov ebp, dword [0x4a14d8]
push 0x12000
push esi
push ebp
call fcn.0057c6e0
mov ebx, dword [0x4a14dc]
add esp, 0xc
push 0x24000
push esi
push ebx
call fcn.0057c6e0
mov byte [ebp + 0x1324], 3
mov byte [ebp + 0xb644], 1
mov byte [ebp + 0xb764], 2
mov byte [ebp + 0x1444], 0xc
mov byte [ebp + 0xb884], 4
mov byte [ebp + 0xb9a4], 8
mov byte [ebp + 0x1204], 0x30
mov byte [ebp + 0xb404], 0x10
mov byte [ebp + 0x6664], 0x40
mov byte [ebp + 0x6784], 0x80
mov al, 0x20
mov byte [ebp + 0xb524], al
mov byte [ebx + 0x20a4], 1
mov byte [ebx + 0x140a4], 2
mov byte [ebx + 0x3f04], 4
mov byte [ebx + 0x15f04], 8
mov byte [ebx + 0x2f44], 0x10
mov byte [ebx + 0x15cc4], al
mov byte [ebx + 0x18664], 0x40
mov byte [ebx + 0x18784], 0x80
add esp, 0xc
mov dword [ebp + 0xa320], 0x49d3d4
mov dword [ebp + 0x1680], 0x49d3d0
mov dword [ebp + 0xa200], 0x49d3cc
jmp 0x502c7d
call fcn.00503d00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f00
ret
mov ebx, dword [0x4a14dc]
lea eax, [ebp + 0x14]
mov ecx, 0x40
and byte [eax - 9], 8
and byte [eax + 0x117], 8
and byte [eax + 0x237], 8
and byte [eax + 0x357], 8
mov word [eax - 1], si
mov word [eax - 0xc], si
mov byte [eax - 0xa], 0
mov byte [eax - 2], 0
mov word [eax + 0x11f], si
mov word [eax + 0x114], si
mov byte [eax + 0x116], 0
mov byte [eax + 0x11e], 0
mov word [eax + 0x23f], si
mov word [eax + 0x234], si
mov byte [eax + 0x236], 0
mov byte [eax + 0x23e], 0
mov word [eax + 0x35f], si
mov word [eax + 0x354], si
mov byte [eax + 0x356], 0
mov byte [eax + 0x35e], 0
add eax, 0x480
dec ecx
jne 0x502c85
lea eax, [ebx + 0x14]
mov ecx, 0x80
jmp 0x502d20
and byte [eax - 9], 8
and byte [eax + 0x117], 8
and byte [eax + 0x237], 8
and byte [eax + 0x357], 8
mov word [eax - 1], si
mov word [eax - 0xc], si
mov byte [eax - 0xa], 0
mov byte [eax - 2], 0
mov word [eax + 0x11f], si
mov word [eax + 0x114], si
mov byte [eax + 0x116], 0
mov byte [eax + 0x11e], 0
mov word [eax + 0x23f], si
mov word [eax + 0x234], si
mov byte [eax + 0x236], 0
mov byte [eax + 0x23e], 0
mov word [eax + 0x35f], si
mov word [eax + 0x354], si
mov byte [eax + 0x356], 0
mov byte [eax + 0x35e], 0
add eax, 0x480
dec ecx
jne 0x502d20
mov ecx, 0x49e474
mov edi, edi
movzx eax, word [ecx]
cmp ax, si
jbe 0x502dcd
mov edx, 0x1ff
cmp ax, dx
ja 0x502dcd
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebx + 0x12], 1
add ecx, 8
cmp ecx, 0x49e4dc
jl 0x502db0
mov edi, dword [0x4a14cc]
mov eax, 0x3fff
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x8000
rep stosd dword es:[edi], eax
mov edi, dword [0x4a14d0]
mov eax, 0x3fff
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x10000
rep stosd dword es:[edi], eax
mov edi, dword [0x4a14d4]
mov eax, 0x3fff
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x1f4
push 0x2ee0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push esi
push eax
call fcn.0057c6e0
add esp, 0xc
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x2f14], esi
jle 0x50355f
lea ecx, [esp + 0x36]
mov dword [esp + 0x24], ecx
lea esp, [esp]
mov edx, dword [esp + 0x18]
mov esi, dword [edx*4 + 0x4a14f0]
mov al, byte [esi + 0x14]
test al, al
je 0x503248
cmp al, 4
jae 0x503248
cmp byte [0x4a0b7f], 0
je 0x502ea2
mov eax, esi
call fcn.004ff4a0
mov ebp, dword [0x4a14d8]
mov ebx, dword [0x4a14dc]
test al, al
je 0x503248
cmp word [esi + 2], 0
je 0x502efc
cmp byte [esi + 0x1c], 0
sete al
test al, al
jne 0x503248
mov cl, byte [esi + 0x12]
test cl, cl
jne 0x502eca
cmp word [esi + 8], 0
je 0x503248
cmp cl, 0xff
ja 0x503248
movzx eax, word [esi + 8]
mov edx, 0x1ff
cmp ax, dx
ja 0x503248
test cl, cl
jne 0x502f19
mov edi, eax
lea edi, [edi + edi*8]
shl edi, 5
add edi, ebx
mov byte [edi + 0x12], 1
jmp 0x503005
mov eax, dword [esi + 0x20]
test eax, eax
je 0x503248
cmp byte [eax + 0x24], 0
jne 0x502eb8
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x502f07
jmp 0x503248
movzx eax, byte [esi + 0x12]
lea edi, [eax + eax*8]
shl edi, 5
add edi, ebp
sub eax, 0x10
je 0x502fc3
dec eax
je 0x502f7f
dec eax
jne 0x503005
mov byte [ebp + 0xb889], 1
mov byte [ebp + 0xb9a9], 1
mov byte [ebx + 0x3f09], 1
mov byte [ebx + 0x15f09], 1
movzx eax, byte [esi + 0x18]
mov byte [ebp + 0xb88a], al
mov cl, byte [esi + 0x18]
mov byte [ebp + 0xb9aa], cl
mov dl, byte [esi + 0x18]
mov byte [ebx + 0x3f0a], dl
movzx eax, byte [esi + 0x18]
mov byte [ebx + 0x15f0a], al
jmp 0x503005
mov byte [ebp + 0xb649], 1
mov byte [ebp + 0xb769], 1
mov byte [ebx + 0x20a9], 1
mov byte [ebx + 0x140a9], 1
movzx ecx, byte [esi + 0x18]
mov byte [ebp + 0xb64a], cl
mov dl, byte [esi + 0x18]
mov byte [ebp + 0xb76a], dl
mov al, byte [esi + 0x18]
mov byte [ebx + 0x20aa], al
movzx ecx, byte [esi + 0x18]
mov byte [ebx + 0x140aa], cl
jmp 0x503005
mov byte [ebp + 0xb409], 1
mov byte [ebp + 0xb529], 1
mov byte [ebx + 0x2f49], 1
mov byte [ebx + 0x15cc9], 1
movzx edx, byte [esi + 0x18]
mov byte [ebp + 0xb40a], dl
mov al, byte [esi + 0x18]
mov byte [ebp + 0xb52a], al
mov cl, byte [esi + 0x18]
mov byte [ebx + 0x2f4a], cl
movzx edx, byte [esi + 0x18]
mov byte [ebx + 0x15cca], dl
mov byte [edi + 9], 1
cmp byte [esi + 0x18], 0
movzx edx, word [esi]
mov dword [esp + 0x20], edx
je 0x503024
or edx, 0x4000
mov byte [edi + 0xa], 1
mov dword [esp + 0x20], edx
cmp byte [edi + 4], 0
je 0x50305b
cmp byte [esi + 0x11], 0
jne 0x50305b
cmp byte [esi + 0x13], 0
jne 0x50305b
cmp word [esi + 0xa], 0
jne 0x50305b
test byte [esi + 0x15], 2
jne 0x50305b
mov ax, word [esi + 8]
mov bl, byte [esi + 0x12]
xor cl, cl
call fcn.00502930
mov ebx, dword [0x4a14dc]
mov edx, dword [esp + 0x20]
mov al, byte [esi + 0x13]
test al, al
je 0x50316f
movzx ecx, al
lea ecx, [ecx + ecx*8]
shl ecx, 5
add ecx, ebp
cmp byte [ecx + 4], 0
je 0x503111
lea ecx, [eax - 0x10]
movzx eax, al
cmp cl, 2
ja 0x503104
sub eax, 0x10
je 0x5030df
dec eax
je 0x5030ba
dec eax
jne 0x50312e
mov byte [ebp + 0x1448], 2
mov byte [ebp + 0xb888], 2
mov byte [ebp + 0xb9a8], 2
mov byte [ebx + 0x3f08], 2
mov byte [ebx + 0x15f08], 2
jmp 0x50312e
mov byte [ebp + 0x1328], 2
mov byte [ebp + 0xb648], 2
mov byte [ebp + 0xb768], 2
mov byte [ebx + 0x20a8], 2
mov byte [ebx + 0x140a8], 2
jmp 0x50312e
mov byte [ebp + 0x1208], 2
mov byte [ebp + 0xb408], 2
mov byte [ebp + 0xb528], 2
mov byte [ebx + 0x2f48], 2
mov byte [ebx + 0x15cc8], 2
jmp 0x50312e
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebp + 8], 1
jmp 0x50312e
mov byte [ecx + 8], 1
test byte [esi + 0x15], 1
je 0x50312e
movzx eax, byte [esi + 0x13]
lea ecx, [eax + eax*8]
shl ecx, 5
or byte [ecx + ebp + 0xb], 1
lea eax, [ecx + ebp + 0xb]
mov cl, byte [edi + 0x13]
cmp cl, 0x32
jae 0x503206
mov al, byte [esi + 0x13]
movzx ecx, cl
mov byte [edi + ecx*4 + 0x16], al
movzx eax, word [esi + 2]
test ax, ax
je 0x50315e
movzx edx, byte [edi + 0x13]
mov word [edi + edx*4 + 0x18], ax
inc byte [edi + 0x13]
jmp 0x503248
movzx eax, byte [edi + 0x13]
mov word [edi + eax*4 + 0x18], dx
inc byte [edi + 0x13]
jmp 0x503248
movzx eax, word [esi + 0xa]
test ax, ax
je 0x503206
mov ecx, eax
lea ecx, [ecx + ecx*8]
shl ecx, 5
cmp byte [ecx + ebx + 4], 0
je 0x503198
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebx + 8], 1
jmp 0x5031c5
mov byte [ecx + ebx + 8], 1
test byte [esi + 0x15], 1
je 0x5031b6
movzx eax, word [esi + 0xa]
lea ecx, [eax + eax*8]
shl ecx, 5
or byte [ecx + ebx + 0xb], 1
lea eax, [ecx + ebx + 0xb]
movzx eax, word [esi + 0xa]
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebx + 0x12], 1
mov al, byte [edi + 0x14]
cmp al, 0x10
jae 0x503206
movzx ecx, al
mov ax, word [esi + 0xa]
mov word [edi + ecx*4 + 0xde], ax
movzx eax, word [esi + 2]
test ax, ax
je 0x5031f5
movzx ecx, byte [edi + 0x14]
mov word [edi + ecx*4 + 0xe0], ax
inc byte [edi + 0x14]
jmp 0x503248
movzx eax, byte [edi + 0x14]
mov word [edi + eax*4 + 0xe0], dx
inc byte [edi + 0x14]
jmp 0x503248
movzx eax, word [esi + 2]
mov ecx, eax
test ax, ax
jne 0x503214
movzx ecx, dx
mov eax, dword [esp + 0x24]
inc dword [esp + 0x1c]
mov word [eax + 4], cx
movzx ecx, byte [esi + 0x12]
mov byte [eax], cl
mov dx, word [esi + 8]
mov word [eax + 2], dx
mov ecx, dword [esi + 0xc]
mov dword [eax - 6], ecx
mov dl, byte [esi + 0x10]
mov byte [eax - 2], dl
movzx ecx, byte [esi + 0x17]
mov byte [eax - 1], cl
add eax, 0xc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x2f14]
jl 0x502e60
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x50355f
push 0x407460
push 0xc
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00573200
add esp, 0x10
test esi, esi
jle 0x50355f
lea eax, [esp + 0x34]
mov dword [esp + 0x28], esi
movzx ecx, word [eax + 6]
mov ebx, dword [eax - 4]
mov edx, ecx
and ecx, 0x3fff
shr edx, 0xe
mov dword [esp + 0x18], ecx
mov cl, byte [eax]
and dl, 1
mov byte [esp + 0x17], dl
mov dword [esp + 0x24], ebx
test cl, cl
je 0x5032e0
xor edx, edx
test cl, 0xc0
je 0x5032c2
mov edx, 8
test cl, 0xc
je 0x5032ca
or edx, 1
test cl, 0x30
je 0x5032d2
or edx, 4
test cl, 3
je 0x5032da
or edx, 2
or ebx, edx
mov dword [esp + 0x24], ebx
mov ebp, dword [0x4a14d0]
mov edi, dword [0x4a14cc]
xor edx, edx
xor esi, esi
add ebp, 0x270
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
add edi, 0x14a
jmp 0x50330a
mov ebx, dword [esp + 0x24]
xor ecx, ecx
test dl, 0xc0
je 0x503316
mov ecx, 8
test dl, 0xc
je 0x50331e
or ecx, 1
test dl, 0x30
je 0x503326
or ecx, 4
test dl, 3
je 0x50332e
or ecx, 2
cmp byte [eax + 1], 0
je 0x503336
and ecx, ebx
cmp ebx, ecx
jne 0x503523
mov cl, byte [eax]
test cl, cl
je 0x503355
movzx ecx, cl
mov edx, ecx
and edx, dword [esp + 0x1c]
cmp ecx, edx
jne 0x503523
mov cl, byte [eax + 2]
test cl, cl
jne 0x5033f8
movzx ecx, word [eax + 4]
mov edx, dword [0x4a14d0]
add ecx, esi
lea esi, [edx + ecx*2]
movzx ecx, word [esi]
mov edx, 0x3fff
cmp cx, dx
jne 0x503388
mov cx, word [eax + 6]
mov word [esi], cx
jmp 0x503523
mov edx, ecx
shr edx, 0xe
and dl, 1
cmp byte [esp + 0x17], 0
je 0x5033b4
test dl, dl
jne 0x5033d3
mov dx, word [eax + 6]
mov esi, dword [0x4a14d4]
and ecx, 0x3fff
mov word [esi + ecx*2], dx
jmp 0x503523
test dl, dl
je 0x5033d3
movzx edx, word [esp + 0x18]
mov ebx, dword [0x4a14d4]
mov word [ebx + edx*2], cx
mov cx, word [eax + 6]
mov word [esi], cx
jmp 0x503523
mov edx, dword [0x4a14d4]
movzx ebx, word [esp + 0x18]
and ecx, 0x3fff
mov cx, word [edx + ecx*2]
mov word [edx + ebx*2], cx
mov dx, word [eax + 6]
mov word [esi], dx
jmp 0x503523
mov edx, dword [0x4a14cc]
movzx ecx, cl
add ecx, esi
lea esi, [edx + ecx*2]
movzx ecx, word [esi]
mov edx, 0x3fff
cmp cx, dx
jne 0x50341c
mov cx, word [eax + 6]
mov word [esi], cx
jmp 0x503484
mov edx, ecx
shr edx, 0xe
and dl, 1
cmp byte [esp + 0x17], 0
je 0x503448
test dl, dl
jne 0x503464
mov dx, word [eax + 6]
mov esi, dword [0x4a14d4]
and ecx, 0x3fff
mov word [esi + ecx*2], dx
jmp 0x503523
test dl, dl
je 0x503464
movzx edx, word [esp + 0x18]
mov ebx, dword [0x4a14d4]
mov word [ebx + edx*2], cx
mov cx, word [eax + 6]
mov word [esi], cx
jmp 0x503484
mov edx, dword [0x4a14d4]
movzx ebx, word [esp + 0x18]
and ecx, 0x3fff
mov cx, word [edx + ecx*2]
mov word [edx + ebx*2], cx
mov dx, word [eax + 6]
mov word [esi], dx
movzx ecx, byte [eax + 2]
add ecx, 0xfffffff0
cmp ecx, 0x95
ja 0x503523
movzx ecx, byte [ecx + 0x408198]
jmp dword [ecx*4 + 0x40817c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esi, 0x100
inc edx
add edi, 0x200
add ebp, 0x200
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
cmp esi, 0xff00
jle 0x503306
add eax, 0xc
dec dword [esp + 0x28]
jne 0x50328f
mov edx, dword [esp + 0x2c]
push 0
push edx
call fcn.00503630
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f00
ret