Function at 0x50a310
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x58
call fcn.005e6090
push esi
mov esi, ecx
test byte [esi + 0x10], 8
je 0x50a33b
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push eax
push ecx
mov ecx, esi
call fcn.0050aa40
pop esi
add esp, 0x58
ret 8
push ebx
xor ebx, ebx
mov bx, word [esi + 4]
push ebp
push edi
xor ebp, ebp
movsx edi, bx
test edi, 0x400
lea edx, [esp + 0x2c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], edx
je 0x50a375
mov dword [esp + 0x18], 4
test edi, 0x200
je 0x50a385
mov dword [esp + 0x1c], 4
test edi, 0x4000
je 0x50a395
mov dword [esp + 0x20], 8
mov eax, edi
and eax, 0xff
cmp ax, 1
jl 0x50a3be
cmp ax, 0x1f
jg 0x50a3be
mov ecx, dword [esi + 8]
lea eax, [esp + 0x2c]
mov ebx, 9
call fcn.00509340
jmp 0x50a730
mov eax, edi
and eax, 0xff
cmp ax, 0x20
jl 0x50a3e7
cmp ax, 0x23
jg 0x50a3e7
mov ecx, dword [esi + 8]
lea eax, [esp + 0x2c]
mov ebx, 0xd
call fcn.00509380
jmp 0x50a730
mov eax, edi
and eax, 0xff
cmp ax, 0x24
jl 0x50a410
cmp ax, 0x2c
jg 0x50a410
mov ecx, dword [esi + 8]
lea eax, [esp + 0x2c]
mov ebx, 0x11
call fcn.005093d0
jmp 0x50a730
mov eax, edi
and eax, 0xff
cmp ax, 0x2d
jl 0x50a439
cmp ax, 0x2f
jg 0x50a439
mov eax, dword [esi + 8]
lea ecx, [esp + 0x2c]
mov ebx, 0x19
call fcn.00509420
jmp 0x50a730
push 0x37
mov edx, 0x30
mov ecx, edi
call fcn.00425a30
test eax, eax
je 0x50a460
mov eax, dword [esi + 8]
mov cx, word [eax]
mov ebx, 2
mov word [esp + 0x2c], cx
jmp 0x50a730
push 0x47
mov edx, 0x38
mov ecx, edi
call fcn.00425a30
test eax, eax
je 0x50a485
mov edx, dword [esi + 8]
mov eax, dword [edx]
mov ebx, 4
mov dword [esp + 0x2c], eax
jmp 0x50a730
push 0xb7
mov edx, 0xb4
mov ecx, edi
call fcn.00425a30
test eax, eax
je 0x50a4b6
mov eax, dword [esi + 8]
mov cx, word [eax + 4]
mov edx, dword [eax]
mov ebx, 6
mov word [esp + 0x2c], cx
mov dword [esp + 0x2e], edx
jmp 0x50a730
push 0x4f
mov edx, 0x48
mov ecx, edi
call fcn.00425a30
test eax, eax
je 0x50a4e2
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, 8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
jmp 0x50a730
push 0x5f
mov edx, 0x50
mov ecx, edi
call fcn.00425a30
test eax, eax
je 0x50a55a
mov edi, dword [esi + 8]
mov ebp, dword [edi + 0x10]
test ebp, ebp
je 0x50a507
push 0
mov ecx, edi
call fcn.004150a0
mov eax, dword [edi + 0x18]
test eax, eax
jg 0x50a52a
mov eax, dword [edi + 0x1c]
test eax, eax
jg 0x50a52a
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov ebx, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
jmp 0x50a544
or ebx, 0x2000
mov dword [esp + 0x10], ebx
mov eax, edi
lea ecx, [esp + 0x2c]
mov ebx, 0x29
call fcn.00509220
test ebp, ebp
je 0x50a730
push 1
mov ecx, edi
call fcn.004150a0
jmp 0x50a730
push 0x6f
mov edx, 0x60
mov ecx, edi
call fcn.00425a30
test eax, eax
je 0x50a607
mov edi, dword [esi + 8]
mov ebp, dword [edi + 0x10]
xor edx, edx
mov dl, byte [edi + 0x30]
shr edx, 3
and edx, 1
mov dword [esp + 0x28], edx
je 0x50a58e
mov ecx, edi
call fcn.0050d750
test ebp, ebp
je 0x50a59b
push 0
mov ecx, edi
call fcn.004150a0
mov al, byte [edi + 0x30]
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
test al, 2
mov eax, dword [edi + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
je 0x50a5be
mov ebx, 0xc
jmp 0x50a5e2
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
or ebx, 0x2000
mov dword [esp + 0x10], ebx
mov ebx, 0x18
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
test ebp, ebp
je 0x50a5ef
push 1
mov ecx, edi
call fcn.004150a0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x50a730
mov ecx, edi
call fcn.0050d830
jmp 0x50a730
push 0x77
mov edx, 0x70
mov ecx, edi
call fcn.00425a30
test eax, eax
je 0x50a677
mov eax, dword [esi + 8]
cmp dword [eax + 0x18], ebp
jg 0x50a659
mov ecx, dword [eax + 0x1c]
cmp ecx, ebp
jg 0x50a659
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x70]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 0x6c]
mov ebx, 0x18
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
jmp 0x50a730
or ebx, 0x2000
mov dword [esp + 0x10], ebx
push eax
lea ecx, [esp + 0x30]
mov ebx, 0x35
call fcn.00509690
jmp 0x50a730
push 0x7f
mov edx, 0x78
mov ecx, edi
call fcn.00425a30
test eax, eax
je 0x50a69f
mov ecx, dword [esi + 8]
lea eax, [esp + 0x2c]
mov ebx, 0x15
call fcn.005091c0
jmp 0x50a730
push 0xb3
mov edx, 0xa4
mov ecx, edi
call fcn.00425a30
test eax, eax
je 0x50a6cb
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, 8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
jmp 0x50a730
push 0xdf
mov edx, 0xc0
mov ecx, edi
call fcn.00425a30
test eax, eax
je 0x50a702
mov edi, dword [esi + 8]
mov ebx, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x50a6e8
sub ebx, ecx
mov ecx, ebx
call fcn.00509660
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edi
jmp 0x50a730
push 0xfe
mov edx, 0xf0
mov ecx, edi
call fcn.00425a30
test eax, eax
je 0x50a72e
mov ebx, dword [esi + 0x1c]
mov ecx, ebx
call fcn.00509660
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x24], eax
jmp 0x50a730
xor ebx, ebx
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x70]
add ecx, ebx
add ecx, edi
add ecx, edx
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 2]
mov cx, word [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, edx
test eax, eax
mov word [ebp], cx
lea edi, [ebp + 2]
je 0x50a76c
mov edx, dword [esi + 0x24]
mov dword [edi], edx
add edi, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x50a77c
mov eax, dword [esi + 0x28]
mov dword [edi], eax
add edi, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x50a79f
mov cx, word [esi + 6]
lea eax, [edi + 2]
mov word [edi], cx
mov word [eax], 0
add eax, 2
mov dword [eax], 0
lea edi, [eax + 4]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x50a7b2
mov eax, ebx
mov ecx, edi
call fcn.00509630
mov edi, eax
test ebx, ebx
je 0x50a7ca
mov esi, dword [esp + 0x24]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x6c]
mov ecx, ebp
mov dword [eax], ebx
call fcn.004fe650
test eax, eax
pop edi
pop ebp
pop ebx
jge 0x50a7ef
push str.Improper_Field_Encoding._nContact_Tally_Solutions.
push 3
push 0x64
call fcn.004edf50
add esp, 0xc
mov eax, dword [esp + 0x1c]
pop esi
add esp, 0x58
ret 8