Function at 0x4af760
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x541620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [esp + 0x64]
push ebx
push ebp
push esi
mov esi, ecx
push edi
test eax, eax
mov dword [esp + 0x10], esi
je 0x4af790
mov dword [eax], 0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
lea edx, [esp + 0x28]
push 0
lea eax, [esp + 0x70]
push edx
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push edx
mov ecx, esi
call fcn.0047bf10
mov ebx, eax
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x20], ebx
jne 0x4af885
mov eax, dword [esp + 0x64]
mov ecx, esi
push eax
push ebx
call fcn.00494610
mov ebp, eax
push ebp
call fcn.004a7610
mov edi, dword [esp + 0x6c]
mov esi, eax
add esp, 4
cmp esi, 1
je 0x4af7f5
cmp esi, 8
jne 0x4af803
mov ecx, edi
call fcn.00510d92
mov ecx, edi
call fcn.00510d46
mov ecx, dword [esp + 0x68]
mov edi, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], edi
call fcn.00470b30
cmp esi, 8
mov dword [esp + 0x58], 0
jne 0x4af830
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0x44]
test eax, eax
jne 0x4af890
jmp 0x4af86c
cmp esi, 1
jne 0x4af84f
cmp byte [edi], 0
je 0x4af88c
push 0
push 0
push 0
push 0
push 0
push edi
call fcn.004dd360
add esp, 0x18
jmp 0x4af868
cmp esi, 6
jne 0x4af88c
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x28]
push 1
push edx
push eax
call fcn.004c7070
add esp, 0xc
test eax, eax
jne 0x4af88c
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x28], 0x5477b0
call fcn.00470d30
xor eax, eax
jmp 0x4affa2
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x4afa35
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4afa35
mov ecx, 0x5929a0
call fcn.004e5780
mov edi, eax
test edi, edi
je 0x4af9ee
mov ecx, dword [edi + 2]
cmp word [edi + ecx + 6], 0xd2
lea eax, [edi + ecx + 6]
jne 0x4af9ee
mov edx, dword [esi]
mov ecx, dword [eax + 6]
add eax, 2
cmp edx, ecx
jne 0x4af9ee
mov ecx, dword [esi + 4]
mov edx, dword [eax + 8]
cmp ecx, edx
jne 0x4af9ee
mov edx, dword [esi + 8]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jne 0x4af9ee
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0x10]
cmp ecx, edx
jne 0x4af9ee
dec ecx
je 0x4af946
dec ecx
je 0x4af939
dec ecx
jne 0x4af9ee
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, edx
xor ebx, ebx
cmp dword [esi + 0x10], ecx
sete bl
mov ecx, ebx
test ecx, ecx
je 0x4af9ea
mov ebx, dword [esp + 0x20]
mov dword [esi + 0x10], edx
jmp 0x4af958
mov edx, dword [esi + 0x10]
xor ecx, ecx
cmp edx, dword [eax + 0x14]
sete cl
jmp 0x4af958
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
add ecx, edx
xor edx, edx
cmp ecx, dword [eax + 0x14]
sete dl
mov ecx, edx
test ecx, ecx
je 0x4af9ee
mov eax, dword [eax + 0x18]
mov ecx, dword [esi + 0x14]
add ecx, eax
mov dword [esi + 0x14], ecx
lea ecx, [esp + 0x3c]
call fcn.00470b30
mov ecx, dword [edi + 2]
add edi, 6
push ecx
push edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 1
call fcn.004713f0
mov ecx, 0x5929a0
call fcn.004e5580
push 1
push 1
mov ecx, 0x591f10
call fcn.0048b710
lea edx, [esp + 0x3c]
mov ecx, 0x5929a0
push edx
call fcn.004e54e0
cmp ebx, 0xd
jne 0x4af9d2
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x4af9c5
xor eax, eax
jmp 0x4af9c8
mov eax, dword [eax + 0x5c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
mov dword [esi + 4], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0
mov dword [esp + 0x3c], 0x5477b0
call fcn.00470d30
jmp 0x4af9ee
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x6c]
push 2
push edx
mov ecx, 0x5929c0
mov dword [esp + 0x74], 0xd2
call fcn.004713f0
lea eax, [esp + 0x6c]
push 4
push eax
mov ecx, 0x5929c0
mov dword [esp + 0x74], 0x18
call fcn.004713f0
push 0x18
push esi
mov ecx, 0x5929c0
call fcn.004713f0
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
cmp ebx, 0xd
jne 0x4afaab
mov esi, dword [edx + 0x64]
mov eax, dword [edx + 0x64]
lea edi, [edx + 0x64]
shr esi, 2
test eax, eax
jne 0x4afa4e
xor eax, eax
jmp 0x4afa51
mov eax, dword [edx + 0x5c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x4afa82
mov ecx, dword [esp + 0x64]
push 0
push 0
push 0
push 0
push 0
push 1
push ecx
push eax
push edx
mov edx, dword [esp + 0x38]
push edx
call fcn.004ad0c0
add esp, 0x28
jmp 0x4afa91
mov ecx, dword [esp + 0x64]
push ecx
push eax
push edx
call fcn.004ab1e0
add esp, 0xc
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4aff84
mov edx, dword [edi]
shr edx, 2
sub edx, esi
mov dword [eax], edx
jmp 0x4aff84
cmp ebp, 0x1a6
jne 0x4afac5
mov eax, dword [esp + 0x14]
push 1
push edi
push eax
call fcn.004eb070
jmp 0x4aff56
cmp ebp, 0x1da
jg 0x4afb87
je 0x4afbc2
cmp ebp, 0x105
jg 0x4afb06
je 0x4afbb4
mov eax, ebp
sub eax, 0x33
je 0x4afbb4
sub eax, 0x35
je 0x4afbc2
sub eax, 0x66
jne 0x4afb1d
lea eax, [edx + 0x10]
jmp 0x4afbf5
mov eax, ebp
sub eax, 0x139
je 0x4afb82
sub eax, 0x36
je 0x4afb66
sub eax, 0x36
je 0x4afbc2
cmp ebp, 0x1dc
jg 0x4afc83
je 0x4afcac
cmp ebp, 0x106
jg 0x4afc24
je 0x4afcac
mov eax, ebp
sub eax, 0x35
je 0x4afcac
sub eax, 0x66
je 0x4afcac
sub eax, 0x37
jne 0x4afc37
lea eax, [edx + 0x10]
jmp 0x4afcdf
mov ecx, 0x591f10
call fcn.00455be0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
mov eax, dword [ecx + 0x5c]
add eax, 0x1d0
jmp 0x4afbf5
lea eax, [edx + 0xc]
jmp 0x4afbf5
cmp ebp, 0x2ae
jg 0x4afbdb
je 0x4afbb4
mov eax, ebp
sub eax, 0x20f
je 0x4afbc2
sub eax, 0x35
je 0x4afbb4
sub eax, 0x34
jne 0x4afb1d
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x54]
add eax, 0xc
jmp 0x4afbf5
mov ecx, 0x591f10
call fcn.00455be0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x14]
push ecx
push eax
push edx
push ebp
call fcn.004e60d0
add esp, 0x10
jmp 0x4aff59
mov eax, ebp
sub eax, 0x2e3
je 0x4afbf2
sub eax, 0x38
jne 0x4afb1d
lea eax, [edx + 0x14]
jmp 0x4afbf5
lea eax, [edx + 0x34]
test eax, eax
je 0x4aff5d
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4aff5d
mov edx, dword [esp + 0x68]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ebp
call fcn.004e6500
jmp 0x4aff59
mov eax, ebp
sub eax, 0x13c
je 0x4afc7e
sub eax, 0x36
je 0x4afc70
sub eax, 0x35
je 0x4afcac
cmp ebp, 0x27a
jg 0x4afd1f
je 0x4afd13
mov eax, ebp
sub eax, 0x13b
je 0x4afd0e
sub eax, 0x36
jne 0x4afd4c
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x5c]
add eax, 0x1d0
jmp 0x4afd2a
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x5c]
add eax, 0x1d0
jmp 0x4afcdf
lea eax, [edx + 0xc]
jmp 0x4afcdf
cmp ebp, 0x2b0
jg 0x4afcc5
je 0x4afcac
mov eax, ebp
sub eax, 0x211
je 0x4afcac
sub eax, 0x34
je 0x4afcac
sub eax, 0x36
jne 0x4afc37
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x54]
add eax, 0xc
jmp 0x4afcdf
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edx
push ebp
call fcn.004e60d0
add esp, 0x10
jmp 0x4aff59
mov eax, ebp
sub eax, 0x2e8
je 0x4afcdc
sub eax, 0x37
jne 0x4afc37
lea eax, [edx + 0x14]
jmp 0x4afcdf
lea eax, [edx + 0x34]
test eax, eax
je 0x4aff5d
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4aff5d
mov edx, dword [esp + 0x68]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ebp
call fcn.004e66a0
jmp 0x4aff59
lea eax, [edx + 0xc]
jmp 0x4afd2a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x54]
add eax, 0xc
jmp 0x4afd2a
cmp ebp, 0x31e
jne 0x4afd4c
lea eax, [edx + 0x14]
test eax, eax
je 0x4afd4c
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.004e6840
jmp 0x4aff59
xor edi, edi
cmp ebp, 0x279
jg 0x4afdee
je 0x4afde2
cmp ebp, 0x13a
jg 0x4afdc7
je 0x4afdc2
cmp ebp, 0x34
je 0x4afe1a
cmp ebp, 0xcf
jne 0x4afeca
lea edi, [edx + 0x10]
mov edx, dword [esp + 0x18]
push 0
push 0
push edx
mov ecx, edi
call fcn.004cfd40
test eax, eax
je 0x4afe3f
test byte [eax + 4], 0x80
je 0x4afe3f
mov eax, dword [eax]
test eax, eax
je 0x4afe3f
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.004e6f10
jmp 0x4aff59
lea edi, [edx + 0xc]
jmp 0x4afd82
cmp ebp, 0x170
jne 0x4afeca
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x5c]
add edi, 0x1d0
jmp 0x4afd82
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0x54]
add edi, 0xc
jmp 0x4afd82
mov eax, ebp
sub eax, 0x2af
je 0x4afe15
sub eax, 0x35
je 0x4afe0d
sub eax, 0x38
jne 0x4afeca
lea edi, [edx + 0x14]
jmp 0x4afd82
lea edi, [edx + 0x34]
jmp 0x4afd82
cmp ebp, 0x34
jne 0x4afe25
test byte [edx + 8], 1
je 0x4afe3f
mov eax, dword [edx + 0xc]
jmp 0x4afda6
cmp ebp, 0x2af
jne 0x4afd82
test byte [edx + 0xc], 0x40
je 0x4afe3f
mov eax, dword [edx + 0x10]
jmp 0x4afda6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x5c]
cmp dword [eax + 0x17c], 0xffffff
jne 0x4afe5c
mov dword [eax + 0x17c], 0xffff
mov esi, dword [eax + 0x17c]
mov edx, dword [esp + 0x64]
inc esi
push edx
mov dword [eax + 0x17c], esi
mov ecx, dword [ecx + 0x5c]
mov eax, esi
add ecx, 0x280
or eax, 0x41000000
mov esi, eax
push esi
call fcn.004cce90
cmp ebp, 0x34
je 0x4afeaf
cmp ebp, 0x2af
je 0x4afeaf
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 1
push esi
push eax
push ecx
push edi
push ebp
call fcn.004e6b80
add esp, 0x18
jmp 0x4aff59
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
push 1
push esi
push edx
push eax
push ebp
call fcn.004e6950
add esp, 0x14
jmp 0x4aff59
cmp ebp, 0x246
jne 0x4aff5d
mov esi, dword [edx + 0x44]
cmp esi, 0xffffffff
je 0x4afeff
push esi
call fcn.004cfb80
add esp, 4
cmp eax, 0x40000000
je 0x4afeff
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x14]
push esi
call fcn.004e6f10
jmp 0x4aff59
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x5c]
cmp dword [eax + 0x17c], 0xffffff
jne 0x4aff1c
mov dword [eax + 0x17c], 0xffff
mov edx, dword [eax + 0x17c]
inc edx
mov dword [eax + 0x17c], edx
mov ecx, dword [ecx + 0x5c]
mov eax, edx
mov edx, dword [esp + 0x64]
or eax, 0x9000000
push edx
mov esi, eax
add ecx, 0x280
push esi
call fcn.004cce90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
push esi
push eax
push ecx
call fcn.004e6d80
add esp, 0xc
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4aff84
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
push 1
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push edx
push ebp
mov ecx, dword [ecx + 0x5c]
call fcn.004acca0
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x28], 0x5477b0
call fcn.00470d30
mov eax, 1
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x18