Function at 0x4995a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa64
mov eax, dword [0x551aa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x20]
push edi
xor edi, edi
mov dword [esi + 0x30], edi
cmp byte [ecx + 0xc], 1
mov dword [ebp - 0xa5c], eax
mov dword [ebp - 0xa58], esi
jne 0x4995dc
mov dword [esi + 0x30], 1
mov ebx, dword [esi + 0x24]
mov edx, dword [eax + 0x58]
mov dword [ebp - 0xa54], edi
mov dword [ebp - 0xa24], ebx
mov dword [ebp - 0xa38], edx
cmp dword [eax + 0x38], edi
jle 0x499e39
mov dword [ebp - 0xa4c], edi
mov edi, dword [ebp - 0xa58]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 0xa4c]
cmp byte [eax + 8], 0
mov dword [ebp - 0xa2c], eax
jne 0x499628
mov dword [edi + 0x30], 1
movzx eax, byte [eax + 5]
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
mov dword [ebx + 0x14], eax
call fcn.0048d570
add esp, 4
mov dword [ebx + 0x18], eax
test eax, eax
je 0x499eb0
mov eax, dword [ebp - 0xa38]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, dword [edi + 0x10]
lea eax, [edx + ecx - 1]
xor edx, edx
div ecx
xor edx, edx
push eax
mov eax, dword [edi + 0xc]
lea eax, [eax + esi - 1]
div esi
mov edx, dword [edi + 8]
push eax
lea eax, [edx + ecx - 1]
xor edx, edx
div ecx
xor edx, edx
push eax
mov eax, dword [edi + 4]
lea eax, [eax + esi - 1]
div esi
push eax
call fcn.0048e840
add esp, 0x10
mov dword [ebx + 0x10], eax
test eax, eax
je 0x499eb0
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebp - 0xa2c]
movzx eax, byte [edx + 8]
dec ecx
push ecx
push eax
call fcn.004a3700
add esp, 8
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x499eb0
mov ecx, dword [ebx + 0x10]
lea edx, [ebp - 0xa04]
push edx
mov edx, dword [ecx + 0x10]
push edx
mov edx, dword [ecx + 0xc]
push edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
push edx
push ecx
push eax
call fcn.004a3b50
mov esi, dword [ebx + 0x18]
xor edi, edi
add esp, 0x18
mov dword [ebp - 0xa40], edi
cmp dword [ebx + 0x14], edi
jle 0x499df9
jmp 0x499706
mov edi, dword [ebp - 0xa40]
mov dword [esi + 4], 0
mov eax, dword [ebx + 0x14]
sub eax, edi
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx]
lea edx, [edx + ecx - 1]
lea ecx, [eax - 1]
shr edx, cl
mov dword [esi + 8], edx
mov eax, dword [ebx + 0x14]
sub eax, edi
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 4]
lea edx, [edx + ecx - 1]
lea ecx, [eax - 1]
shr edx, cl
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0x14]
sub eax, edi
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 8]
lea edx, [edx + ecx - 1]
lea ecx, [eax - 1]
shr edx, cl
mov dword [esi + 0x10], edx
mov eax, dword [ebx + 0x14]
sub eax, edi
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 0xc]
mov ebx, dword [esi + 0xc]
lea edx, [edx + ecx - 1]
lea ecx, [eax - 1]
mov eax, dword [ebp - 0xa2c]
shr edx, cl
mov dword [esi + 0x14], edx
movzx ecx, byte [eax + edi + 0xd7]
mov dword [esi + 0x18], ecx
movzx eax, byte [eax + edi + 0xf8]
mov dword [ebp - 0xa08], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 8]
shr eax, cl
mov edx, ecx
shl eax, cl
mov ecx, dword [ebp - 0xa08]
shr ebx, cl
mov dword [ebp - 0xa1c], eax
shl ebx, cl
mov ecx, edx
mov dword [ebp - 0xa10], ebx
mov ebx, 1
shl ebx, cl
mov ecx, dword [esi + 0x10]
lea ebx, [ebx + ecx - 1]
mov ecx, edx
shr ebx, cl
shl ebx, cl
mov dword [ebp - 0xa08], ebx
sub ebx, eax
shr ebx, cl
mov ecx, dword [esi + 0x1c]
mov eax, 1
shl eax, cl
mov dword [esi + 0x20], ebx
mov ecx, eax
mov eax, dword [esi + 0x14]
lea eax, [ecx + eax - 1]
mov ecx, dword [esi + 0x1c]
shr eax, cl
shl eax, cl
sub eax, dword [ebp - 0xa10]
shr eax, cl
mov dword [esi + 0x24], eax
imul eax, ebx
mov dword [esi + 0x28], eax
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x10]
jae 0x499dca
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x14]
jae 0x499dca
mov eax, dword [ebp - 0xa1c]
test edi, edi
jne 0x49985b
mov ecx, dword [ebp - 0xa10]
mov dword [ebp - 0xa64], ecx
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0xa1c], eax
mov eax, dword [ebp - 0xa08]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
jmp 0x499886
inc eax
shr eax, 1
mov dword [ebp - 0xa1c], eax
mov eax, dword [ebp - 0xa10]
inc eax
shr eax, 1
mov dword [ebp - 0xa64], eax
mov eax, dword [ebp - 0xa08]
inc eax
shr eax, 1
dec edx
mov dword [esi + 0x2c], edx
lea edx, [ecx - 1]
mov dword [esi + 0x30], edx
mov edx, dword [ebp - 0xa2c]
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0xa60], eax
movzx eax, byte [edx + 6]
cmp eax, ecx
jl 0x49989f
mov eax, ecx
mov ecx, dword [esi + 0x30]
mov word [esi + 0x34], ax
movzx eax, byte [edx + 7]
cmp eax, ecx
jl 0x4998b0
mov eax, ecx
mov word [esi + 0x36], ax
xor eax, eax
test edi, edi
setne al
lea eax, [eax + eax + 1]
mov dword [esi], eax
shl eax, 5
push eax
call fcn.0048d570
add esp, 4
mov dword [esi + 4], eax
test eax, eax
je 0x499eb0
cmp dword [esi], 0
mov dword [ebp - 0xa08], 0
mov ebx, eax
mov dword [ebp - 0xa10], eax
jle 0x499dd8
mov edx, dword [ebp - 0xa40]
test edx, edx
jne 0x499901
xor eax, eax
jmp 0x49990e
mov eax, dword [ebp - 0xa08]
lea ecx, [eax + edx*2]
lea eax, [edx + ecx - 2]
lea edi, [eax + eax*4]
mov ecx, dword [ebp + edi*8 - 0x9f4]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xa2c]
movzx eax, word [ecx + eax*2 + 0xc]
lea edi, [ebp + edi*8 - 0xa04]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
movzx ecx, byte [ecx + 8]
push eax
push edx
mov edx, dword [ebp - 0xa24]
mov eax, dword [edx + 0x14]
dec eax
push eax
push ecx
call fcn.004a2b40
mov edx, dword [ebp - 0xa38]
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 0x18], eax
movzx edx, word [edx + 0x10]
add esp, 0x10
add edx, eax
call fcn.00498c00
mov ecx, dword [ebp - 0xa2c]
mov dword [ebx + 0x10], eax
movzx edx, byte [ecx + 0xd4]
mov eax, dword [ebx + 0xc]
sar eax, 0xb
lea eax, [eax + edx - 1]
mov dword [ebx + 0x14], eax
movzx ecx, byte [ecx + 0xd5]
lea edx, [ecx + eax]
cmp edx, 0x20
jl 0x499997
mov ecx, 0x1f
sub ecx, eax
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov eax, dword [edi]
cmp eax, dword [edi + 8]
je 0x499daa
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 0xc]
je 0x499daa
push 0
push 0
push 0
push 0
call fcn.0048e840
add esp, 0x10
mov dword [ebx + 4], eax
test eax, eax
je 0x499eb0
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edx
mov edx, dword [edi + 0x18]
push ecx
mov ecx, dword [edi + 0x14]
push edx
mov edx, dword [ebp - 0xa24]
push ecx
mov ecx, dword [edx + 0x10]
push ecx
push eax
call fcn.0048e800
mov edx, dword [ebx + 4]
mov eax, dword [edi]
mov dword [edx + 4], eax
mov ecx, dword [ebx + 4]
mov edx, dword [edi + 4]
mov dword [ecx + 8], edx
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x18]
add ecx, dword [eax + 4]
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0x14]
add edx, dword [eax + 8]
mov dword [eax + 0x10], edx
mov eax, dword [esi + 0x28]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
call fcn.0048d570
mov edi, eax
add esp, 0x1c
mov dword [ebx], edi
test edi, edi
je 0x499eb0
mov ecx, dword [ebp - 0xa64]
mov eax, dword [ebp - 0xa1c]
mov dword [ebp - 0xa28], ecx
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0xa18], eax
mov dword [ebp - 0xa20], ecx
test ecx, ecx
jle 0x499daa
jmp 0x499a76
mov eax, dword [ebp - 0xa18]
mov ecx, dword [esi + 0x2c]
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x30]
add edx, eax
mov dword [ebp - 0xa44], edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 4]
add edx, dword [ebp - 0xa28]
cmp eax, ecx
jbe 0x499aaa
mov dword [ebp - 0xa0c], eax
jmp 0x499ab2
mov eax, ecx
mov dword [ebp - 0xa0c], ecx
mov ecx, dword [ebp - 0xa28]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
cmp ecx, eax
jbe 0x499ac6
mov eax, ecx
mov dword [edi + 4], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0xc]
cmp dword [ebp - 0xa44], ecx
jae 0x499add
mov ecx, dword [ebp - 0xa44]
mov dword [edi + 8], ecx
mov ebx, dword [ebx + 4]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0xa14], ecx
cmp edx, ebx
jb 0x499af2
mov edx, ebx
mov dword [edi + 0xc], edx
cmp ecx, dword [ebp - 0xa0c]
jbe 0x499d45
cmp edx, eax
jbe 0x499d45
movzx ecx, word [esi + 0x36]
shr eax, cl
mov ebx, dword [ebp - 0xa14]
shl eax, cl
mov dword [ebp - 0xa34], eax
mov eax, 1
shl eax, cl
lea eax, [eax + edx - 1]
shr eax, cl
mov edx, 1
shl eax, cl
movzx ecx, word [esi + 0x34]
shl edx, cl
sub eax, dword [ebp - 0xa34]
lea ebx, [edx + ebx - 1]
mov edx, dword [ebp - 0xa0c]
shr ebx, cl
shr edx, cl
shl ebx, cl
movzx ecx, word [esi + 0x34]
shl edx, cl
movzx ecx, word [esi + 0x34]
sub ebx, edx
shr ebx, cl
mov dword [edi + 0x10], ebx
mov cl, byte [esi + 0x36]
shr eax, cl
mov ecx, ebx
mov edx, ebx
imul edx, eax
push eax
push ecx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], edx
call fcn.004a6570
add esp, 8
mov dword [edi + 0x20], eax
test eax, eax
je 0x499eb0
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
push ecx
push edx
call fcn.004a6570
add esp, 8
mov dword [edi + 0x24], eax
test eax, eax
je 0x499eb0
mov eax, dword [edi + 0x18]
imul eax, eax, 0x2c
push eax
call fcn.0048d570
add esp, 4
mov dword [edi + 0x1c], eax
test eax, eax
je 0x499eb0
mov ecx, dword [ebp - 0xa28]
mov edx, dword [ebp - 0xa18]
mov dword [ebp - 0xa0c], ecx
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0xa3c], edx
mov dword [ebp - 0xa14], ecx
mov ebx, eax
test ecx, ecx
jle 0x499d50
movzx ecx, byte [esi + 0x34]
mov eax, 1
shl eax, cl
movzx ecx, byte [esi + 0x36]
add eax, edx
mov edx, 1
shl edx, cl
mov ecx, dword [edi]
add edx, dword [ebp - 0xa0c]
mov dword [ebp - 0xa30], edx
mov edx, dword [ebp - 0xa3c]
mov dword [ebp - 0xa50], edx
cmp edx, ecx
ja 0x499c21
mov dword [ebp - 0xa50], ecx
mov edx, dword [ebp - 0xa0c]
mov ecx, dword [edi + 4]
mov dword [ebp - 0xa48], edx
cmp edx, ecx
ja 0x499c3a
mov dword [ebp - 0xa48], ecx
mov ecx, dword [edi + 8]
cmp eax, ecx
jae 0x499c4b
mov edx, eax
mov dword [ebp - 0xa34], edx
jmp 0x499c53
mov edx, ecx
mov dword [ebp - 0xa34], ecx
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0xa30]
cmp eax, ecx
jae 0x499c6a
mov ecx, eax
mov dword [ebp - 0xa30], eax
jmp 0x499c70
mov dword [ebp - 0xa30], ecx
cmp edx, dword [ebp - 0xa50]
jbe 0x499cfa
cmp ecx, dword [ebp - 0xa48]
jbe 0x499cfa
xor eax, eax
push eax
push eax
push eax
push eax
mov dword [ebx + 0x18], 0xffffffff
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 3
mov dword [ebx + 0x24], eax
call fcn.0048e840
add esp, 0x10
mov dword [ebx + 0x28], eax
test eax, eax
je 0x499eb0
mov edx, dword [ebp - 0xa30]
mov ecx, dword [ebp - 0xa34]
push edx
mov edx, dword [ebp - 0xa48]
push ecx
mov ecx, dword [ebp - 0xa50]
push edx
mov edx, dword [ebp - 0xa10]
push ecx
mov ecx, dword [edx + 4]
push ecx
push eax
call fcn.0048e800
add esp, 0x18
add ebx, 0x2c
dec dword [ebp - 0xa14]
mov cl, byte [esi + 0x34]
mov edx, dword [ebp - 0xa3c]
mov eax, 1
shl eax, cl
add edx, eax
mov dword [ebp - 0xa3c], edx
cmp edx, dword [ebp - 0xa44]
jb 0x499d36
mov cl, byte [esi + 0x36]
mov edx, dword [ebp - 0xa18]
mov eax, 1
shl eax, cl
mov dword [ebp - 0xa3c], edx
add dword [ebp - 0xa0c], eax
cmp dword [ebp - 0xa14], 0
jg 0x499be5
jmp 0x499d50
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [ebp - 0xa18]
mov edx, 1
shl edx, cl
add eax, edx
mov dword [ebp - 0xa18], eax
cmp eax, dword [ebp - 0xa60]
jb 0x499d8c
mov ecx, dword [esi + 0x30]
mov eax, dword [ebp - 0xa1c]
mov edx, 1
shl edx, cl
mov dword [ebp - 0xa18], eax
add dword [ebp - 0xa28], edx
mov eax, dword [ebp - 0xa20]
mov ebx, dword [ebp - 0xa10]
dec eax
add edi, 0x28
mov dword [ebp - 0xa20], eax
test eax, eax
jg 0x499a70
mov eax, dword [ebp - 0xa08]
inc eax
add ebx, 0x20
mov dword [ebp - 0xa08], eax
mov dword [ebp - 0xa10], ebx
cmp eax, dword [esi]
jl 0x4998f3
jmp 0x499dd8
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0xa40]
mov ecx, dword [ebp - 0xa24]
inc eax
add esi, 0x38
mov dword [ebp - 0xa40], eax
mov ebx, ecx
cmp eax, dword [ecx + 0x14]
jl 0x499700
mov eax, dword [ebp - 0xa54]
mov edx, dword [ebp - 0xa5c]
add dword [ebp - 0xa4c], 0x11c
add dword [ebp - 0xa38], 0x20
inc eax
add ebx, 0x20
mov dword [ebp - 0xa54], eax
mov dword [ebp - 0xa24], ebx
cmp eax, dword [edx + 0x38]
jl 0x499603
mov esi, dword [ebp - 0xa58]
xor edi, edi
mov eax, edx
push esi
push eax
call fcn.004aa8a0
add esp, 8
mov dword [esi + 0x34], eax
cmp eax, edi
je 0x499eb0
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 4]
push ecx
call fcn.004992a0
add esp, 4
test eax, eax
jle 0x499e91
lea ecx, [ecx]
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 4]
push edi
push eax
call fcn.004a7300
push eax
call fcn.004a72c0
mov ecx, dword [esi + 0x34]
push eax
push ecx
call fcn.004a74b0
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 4]
push eax
inc edi
call fcn.004992a0
add esp, 0x18
cmp edi, eax
jl 0x499e60
mov ecx, dword [esi + 0x34]
push ecx
call fcn.004a7320
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
or eax, 0xffffffff
pop ebx
call fcn.0050bf32
mov esp, ebp
pop ebp
ret