Function at 0x4aec60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xd0
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, dword [esp + 0xe0]
mov ecx, dword [esi + 0x4c]
mov eax, ecx
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], 0xfffffffd
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
xor ebp, ebp
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4aecb7
sub eax, edi
mov word [esi + 0x20], ax
movzx eax, ax
xor edx, edx
cmp byte [eax + ecx - 1], 0x2f
lea eax, [esp + 0x44]
sete dl
push eax
mov eax, dword [esi + 0x60]
lea ecx, [esp + 0x18]
push ecx
mov dword [0x54aaf8], 0xffffffff
mov dword [0x54aafc], ebx
mov dword [esp + 0x28], edx
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00481e40
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4af5aa
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, 0xfffffffd
jne 0x4aed1f
cmp ecx, 0xffffffff
je 0x4af5aa
cmp eax, 0xfffffffe
jne 0x4aed40
cmp ecx, 0xffffffff
jne 0x4aed40
xor eax, eax
mov edi, 1
xor ecx, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jmp 0x4aed6a
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
shr edx, 4
and edx, 1
cmp edi, edx
je 0x4aed5a
or eax, 0xffffffff
jmp 0x4af5af
cmp ecx, 0xffffffff
jb 0x4aed6a
ja 0x4aed66
cmp eax, 0xfffffffd
jbe 0x4aed6a
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, 0xffff
mov dword [esi + 0x1c], ecx
mov word [esi + 0x2c], ax
mov dword [esi + 0x38], ebx
cmp dword [0x4d7f44], 2
jne 0x4aedfd
movzx eax, word [esi + 0x22]
test ax, ax
je 0x4aedc1
movzx ecx, ax
push ecx
call fcn.004b00f7
mov ebx, eax
add esp, 4
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x4aedab
push 4
call fcn.004a68a0
movzx edx, word [esi + 0x22]
mov eax, dword [esi + 0x40]
push edx
push eax
push ebx
call fcn.004b04f0
movzx ebx, word [esi + 0x22]
add esp, 0xc
movzx eax, word [esi + 0x24]
test ax, ax
je 0x4aedfd
movzx ecx, ax
push ecx
call fcn.004b00f7
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4aede3
push 4
call fcn.004a68a0
movzx edx, word [esi + 0x24]
mov eax, dword [esi + 0x44]
push edx
push eax
push ebp
call fcn.004b04f0
movzx ecx, word [esi + 0x24]
add esp, 0xc
mov dword [esp + 0x2c], ecx
cmp word [esi + 0x22], 0
je 0x4aee10
mov edx, dword [esi + 0x40]
push edx
call fcn.004b01c1
add esp, 4
cmp word [esi + 0x24], 0
je 0x4aee28
mov eax, dword [esi + 0x44]
cmp dword [esi + 0x40], eax
je 0x4aee28
push eax
call fcn.004b01c1
add esp, 4
mov edx, dword [esi + 0x3c]
xor ecx, ecx
xor eax, eax
mov word [esi + 0x22], cx
push edx
mov ecx, 0x5238d0
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov word [esi + 0x24], ax
call fcn.0041d280
movzx eax, al
neg eax
sbb eax, eax
not eax
and eax, dword [0x4d7f38]
cmp dword [0x52780c], 4
mov dword [esp + 0x10], eax
jne 0x4aee6f
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.00481f90
mov edx, dword [esp + 0x24]
push edx
call fcn.0047fe70
mov dword [esp + 0x40], eax
test eax, eax
je 0x4aee93
xor eax, eax
mov dword [0x54a6dc], 0xffffffff
mov dword [esp + 0x10], eax
jmp 0x4aeeec
test edi, edi
je 0x4aeeb5
xor eax, eax
xor edi, edi
xor edx, edx
mov dword [0x54a6dc], 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
jmp 0x4aeef4
movzx eax, byte [0x527259]
neg eax
sbb eax, eax
and eax, 0x20
add eax, 0x20
push 0
push eax
mov eax, dword [esi + 0x60]
push 0x8000
push eax
call fcn.004b4968
add esp, 0x10
mov dword [0x54a6dc], eax
cmp eax, 0xffffffff
je 0x4af5aa
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
cmp dword [0x4d7f44], 2
jne 0x4aefa1
movzx eax, word [esi + 0x22]
mov ecx, dword [esi + 0x40]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x30]
movzx edx, bx
push ecx
push edx
push eax
call fcn.004a8f70
mov ecx, dword [esi + 0x40]
push ecx
mov edi, eax
call fcn.004b01c1
movzx edx, word [esp + 0x20]
movzx ecx, word [esi + 0x24]
add esp, 4
lea eax, [esp + 0x1c]
push eax
movzx eax, word [esp + 0x30]
push ecx
mov word [esi + 0x22], dx
mov edx, dword [esi + 0x44]
push edx
push eax
push ebp
mov dword [esi + 0x40], edi
call fcn.004a8f70
mov ecx, dword [esi + 0x44]
push ecx
mov edi, eax
call fcn.004b01c1
movzx edx, word [esp + 0x20]
add esp, 4
mov word [esi + 0x24], dx
mov dword [esi + 0x44], edi
test bx, bx
je 0x4aef84
mov eax, dword [esp + 0x28]
push eax
call fcn.004b01c1
add esp, 4
cmp word [esp + 0x2c], 0
je 0x4aef95
push ebp
call fcn.004b01c1
add esp, 4
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, edi
xor ebx, ebx
or ecx, edx
jne 0x4aefad
xor eax, eax
jmp 0x4aefb7
cmp eax, 0xffffffff
jne 0x4aefbb
mov eax, 8
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x20]
mov ecx, 0x1f
mov word [esi], cx
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xa
add ecx, 0xa
mov word [esi + 2], cx
mov dword [esi + 0xc], ebx
cmp ebp, ebx
je 0x4aefe6
xor ecx, ecx
mov word [esi + 4], cx
jmp 0x4af00a
mov ecx, 8
mov word [esi + 4], cx
cmp word [0x526cec], bx
je 0x4af00a
mov ecx, 9
mov word [esi + 4], cx
mov ecx, dword [esi + 8]
shl ecx, 0x10
mov dword [esi + 0xc], ecx
mov cx, word [esi + 4]
mov word [esi + 0x2e], cx
mov word [esi + 6], ax
cmp eax, ebx
jne 0x4af02a
cmp edx, ebx
jl 0x4af02a
jg 0x4af024
cmp edi, ebx
jb 0x4af02a
mov eax, edi
mov ecx, edx
jmp 0x4af02e
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x10], eax
mov eax, edi
and eax, edx
mov dword [esi + 0x14], ecx
cmp eax, 0xffffffff
je 0x4af043
mov eax, edi
mov ecx, edx
jmp 0x4af047
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x1c], ecx
mov edx, dword [esi + 0x1c]
mov ecx, eax
mov dword [esi + 0x18], eax
mov eax, 0xffff
mov dword [0x54aaf0], ebx
mov dword [0x54aaf4], ebx
mov dword [0x54aae8], ecx
mov dword [0x54aaec], edx
cmp word [esi + 0x2c], ax
jne 0x4af083
xor ecx, ecx
mov word [esi + 0x2c], cx
mov dword [esp + 0x30], 1
mov edx, dword [esi + 0x38]
and edx, 0xff00
or edx, dword [esp + 0x24]
push ebx
push esi
mov dword [esi + 0x38], edx
call fcn.004ab8b0
mov edi, eax
cmp edi, ebx
je 0x4af0ba
mov eax, dword [0x54a6dc]
cmp eax, 0xffffffff
je 0x4af0b3
push eax
call fcn.004bc031
add esp, 4
mov eax, edi
jmp 0x4af5af
mov eax, dword [0x508830]
mov dword [esi + 0x30], eax
mov ecx, dword [0x508834]
movzx eax, word [esi + 0x20]
mov dword [esi + 0x34], ecx
movzx ecx, word [esi + 0x22]
mov edx, dword [0x5087f8]
mov dword [esi + 0x28], edx
lea eax, [eax + ecx + 0x1e]
cdq
add dword [0x507348], eax
mov edi, 0xc
adc dword [0x50734c], edx
cmp ebp, ebx
jne 0x4af133
cmp word [0x526cec], bx
je 0x4af133
push 0x80
lea edx, [esp + 0x60]
push edx
push 0x526cec
call fcn.00455da0
mov eax, dword [esi + 0xc]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.004a6170
add dword [esi + 0x10], edi
adc dword [esi + 0x14], ebx
add dword [0x507348], edi
adc dword [0x50734c], ebx
mov edx, dword [0x5087cc]
push edx
call fcn.004b2822
add esp, 4
test eax, eax
je 0x4af173
mov eax, dword [0x54a6dc]
cmp eax, 0xffffffff
je 0x4af159
push eax
call fcn.004bc031
add esp, 4
mov eax, dword [0x507344]
push eax
push ebx
push eax
push ebx
mov ecx, 0x5072f4
call fcn.0042d130
push 0xe
call fcn.004a68a0
mov eax, dword [0x5087cc]
push eax
call fcn.004b32fe
mov ecx, dword [0x5087cc]
push ecx
mov ebp, eax
mov edi, edx
call fcn.004b2822
add esp, 8
test eax, eax
je 0x4af1a4
mov edx, dword [0x5087cc]
push edx
call fcn.004b495d
add esp, 4
mov eax, ebp
and eax, edi
cmp eax, 0xffffffff
je 0x4af1be
cmp edi, ebx
jg 0x4af1be
jl 0x4af1b7
cmp ebp, ebx
jae 0x4af1be
push 6
call fcn.004a68a0
mov dword [0x54a6c8], ebx
mov dword [0x54a6cc], ebx
mov dword [0x54aae0], 0xffffffff
cmp dword [esp + 0x20], ebx
jne 0x4af2f5
cmp dword [esp + 0x10], ebx
je 0x4af207
cmp dword [esp + 0x30], ebx
je 0x4af1f3
mov ecx, 0xffff
mov word [esi + 0x2c], cx
lea edx, [esp + 0x10]
push edx
push esi
call fcn.004aec20
mov edi, eax
mov ebx, edx
jmp 0x4af2fd
push 0x4000
call fcn.004b00f7
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x4af224
mov eax, 4
jmp 0x4af5af
cmp dword [esp + 0x40], ebx
je 0x4af27e
push ebx
push edi
push 0xffffffffffffffff
xor ebp, ebp
call fcn.00422180
push ebx
push 1
push edi
mov dword [0x54aae0], eax
call fcn.004a60b0
test eax, eax
je 0x4af258
push edi
call fcn.004b01c1
add esp, 4
lea eax, [ebp + 0xa]
jmp 0x4af5af
mov dword [0x54a6c8], ebx
mov dword [0x54a6cc], ebx
push edi
call fcn.004b01c1
mov edi, dword [0x54a6c8]
mov ebx, dword [0x54a6cc]
add esp, 4
jmp 0x4af301
push 0x4000
push edi
call fcn.004aeac0
mov ebp, eax
cmp ebp, ebx
jbe 0x4af264
nop
cmp ebp, 0xffffffff
je 0x4af264
push ebx
push ebp
call fcn.00409fe0
push ebp
push 1
push edi
call fcn.004a60b0
cmp eax, ebp
jne 0x4af2bc
push 0x4000
push edi
call fcn.004aeac0
mov ebp, eax
cmp ebp, ebx
ja 0x4af290
jmp 0x4af264
mov eax, dword [0x54a6dc]
cmp eax, 0xffffffff
je 0x4af2cf
push eax
call fcn.004bc031
add esp, 4
push edi
call fcn.004b01c1
mov eax, dword [0x507344]
add esp, 4
push eax
push ebx
push eax
push ebx
mov ecx, 0x5072f4
call fcn.0042d130
mov eax, 0xa
jmp 0x4af5af
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov eax, dword [0x54a6dc]
cmp eax, 0xffffffff
je 0x4af33e
cmp ebp, 0xffffffff
jne 0x4af330
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x54]
mov edx, dword [0x507344]
push eax
push ecx
push edx
push 0
mov ecx, 0x5072f4
call fcn.0042d090
mov eax, dword [0x54a6dc]
cmp eax, 0xffffffff
je 0x4af33e
push eax
call fcn.004bc031
add esp, 4
add dword [0x507348], edi
adc dword [0x50734c], ebx
xor eax, eax
cmp dword [esp + 0x20], eax
je 0x4af37f
mov edx, 0xfff7
and word [esi + 4], dx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov word [esi + 6], ax
mov ecx, 0xa
mov eax, edx
and word [esi + 0x2e], ax
mov word [esi + 2], cx
jmp 0x4af581
mov ecx, dword [0x54aae0]
not ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
cmp word [0x526cec], ax
je 0x4af3a8
mov ecx, edi
add ecx, 0xc
mov edx, ebx
adc edx, eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov ecx, dword [0x54a6c8]
mov edx, dword [0x54a6cc]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
cmp dword [0x5087a8], eax
jne 0x4af50d
mov eax, dword [0x5087cc]
push eax
call fcn.004af740
test eax, eax
je 0x4af50d
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov eax, dword [0x5087cc]
push 0
push ecx
push edx
push eax
call fcn.004b2f63
add esp, 0x10
test eax, eax
jne 0x4af50d
xor ebp, ebp
cmp word [0x526cec], bp
je 0x4af409
add edi, 0xc
adc ebx, ebp
mov edx, dword [0x508858]
mov eax, edi
mov ecx, ebx
cmp edx, eax
jne 0x4af420
mov eax, dword [0x50885c]
cmp eax, ecx
je 0x4af427
push 5
call fcn.004a68a0
mov eax, dword [esp + 0x10]
mov word [esi + 6], ax
cmp eax, ebp
je 0x4af443
cmp eax, 8
jne 0x4af44c
mov ecx, 0x14
mov word [esi + 2], cx
jmp 0x4af44c
mov edx, 0xa
mov word [esi + 2], dx
movzx eax, word [esi + 4]
test al, 1
jne 0x4af45d
and eax, 0xfff7
mov word [esi + 4], ax
mov ax, word [esi + 4]
mov word [esi + 0x2e], ax
cmp dword [0x508840], 1
jne 0x4af49b
mov eax, dword [0x508828]
cmp eax, dword [0x5087cc]
je 0x4af49b
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push ebp
push ecx
push edx
push eax
call fcn.004b2f63
add esp, 0x10
test eax, eax
je 0x4af49b
mov eax, 0xb
jmp 0x4af5af
push 1
push esi
call fcn.004ab8b0
cmp eax, ebp
jne 0x4af5af
mov eax, dword [0x50883c]
mov ecx, dword [0x508838]
mov edx, dword [0x5087cc]
push ebp
push eax
push ecx
push edx
call fcn.004b2f63
add esp, 0x10
test eax, eax
jne 0x4af491
test byte [esi + 4], 1
je 0x4af581
push esi
call fcn.004abeb0
cmp eax, ebp
jne 0x4af5af
cmp dword [0x5087b4], ebp
je 0x4af4fe
add dword [0x507348], 0x18
adc dword [0x50734c], ebp
jmp 0x4af581
add dword [0x507348], 0x10
adc dword [0x50734c], ebp
jmp 0x4af581
mov ax, word [esi + 6]
cmp ax, word [esp + 0x10]
je 0x4af534
mov eax, dword [0x507344]
push eax
push 0
push eax
push 0
mov ecx, 0x5072f4
call fcn.0042d130
push 5
call fcn.004a68a0
cmp dword [esp + 0x10], 0
jne 0x4af552
cmp dword [esp + 0x18], 0
jg 0x4af552
jl 0x4af54b
cmp dword [esp + 0x14], 0
jae 0x4af552
push 0x10
call fcn.004a68a0
push esi
call fcn.004abeb0
test eax, eax
jne 0x4af5af
cmp dword [0x5087b4], eax
setne al
lea eax, [eax*8 + 0x10]
cdq
add dword [0x507348], eax
adc dword [0x50734c], edx
mov cx, word [esi + 0x2e]
mov word [esi + 4], cx
cmp word [esi + 0x22], 0
je 0x4af5a6
mov eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x44]
je 0x4af5a0
push eax
call fcn.004b01c1
add esp, 4
mov dword [esi + 0x40], 0
xor edx, edx
mov word [esi + 0x22], dx
xor eax, eax
jmp 0x4af5af
mov eax, 0x12
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004affec
add esp, 0xd0
ret 4